UNPKG

expo-osm-sdk

Version:

OpenStreetMap component for React Native with Expo

19 lines 677 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Marker = void 0; /** * Marker component for OSMView * * Note: This component is primarily a data container for markers. * The actual rendering is handled by the OSMView component through * the markers prop. This component exists to provide a consistent * API interface similar to other map libraries. */ const Marker = ({ coordinate, title, description, icon, onPress }) => { // This component doesn't render anything directly // It's used as a data structure for OSMView return null; }; exports.Marker = Marker; exports.default = Marker; //# sourceMappingURL=Marker.js.map