Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xiaohutai/map-example
A simple Leaflet + Mapbox + MarkerCluster example. Replace `ACCESS_TOKEN` with a real token.
https://github.com/xiaohutai/map-example
Last synced: 25 days ago
JSON representation
A simple Leaflet + Mapbox + MarkerCluster example. Replace `ACCESS_TOKEN` with a real token.
- Host: GitHub
- URL: https://github.com/xiaohutai/map-example
- Owner: xiaohutai
- License: mit
- Created: 2018-08-10T11:53:44.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-12T14:08:25.000Z (4 months ago)
- Last Synced: 2024-07-12T16:10:51.112Z (4 months ago)
- Language: HTML
- Homepage: https://xiaohutai.github.io/map-example/
- Size: 90.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A simple map example with clustering and popups using [Leaflet](https://leafletjs.com/) + [MarkerCluster](https://github.com/Leaflet/Leaflet.markercluster).
It currently uses a [Wikimedia Maps](https://maps.wikimedia.org) Tile Server as a placeholder. Replace this with a paid service:
- Add an access token from [Mapbox](http://www.mapbox.com)
- Change the attribution
- Change the tile layerFurthermore, it makes use of [unpkg](https://unpkg.com). Concatenate and minify these files according to your own workflow.
Check the [issues](https://github.com/xiaohutai/map-example/issues) tab for more tips.