Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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 layer

Furthermore, 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.