marker
A marker is a visual representation of a specific coordinate on a map. In Mapbox, a marker object has two primary parts: an icon that defines its visual appearance, and a geospatial data source that defines the location where that icon will appear on a map. In each Mapbox SDK or API, this marker object also has properties and methods that define how you can style it and add user interactions. Each Mapbox SDK and API also has specific methods for adding marker objects to a map, webpage, or mobile view.
Read our add markers getting started guide to learn how to use markers to style point data with Mapbox Studio, Mapbox GL JS, and the Mapbox Maps SDKs for iOS and Android.
Related resources:
- Tutorial: Add points to a web map - Mapbox Studio
- Tutorial: Add custom markers to a web map - Mapbox GL JS
- Mapbox Maps SDK for Android guide: Annotations
- Mapbox Maps SDK for iOS guide: Markers and annotations
このpageは役に立ちましたか?