Skip to content
Projets

w3cj/openfreemap-examples

Voir sur GitHub

À propos

Examples for react, vue, svelte and vanilla js using OpenFreeMap.org tiles with MapLibre GL JS libraries.

Développement web et applicatif

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
+2
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

OpenFreeMap + MapLibre GL JS Examples

Basic examples using OpenFreeMap.org tiles with MapLibre GL JS libraries.

  • Each example:
    1. Loads the base MapLibre GL JS map
    • style url set to https://tiles.openfreemap.org/styles/liberty
    • option to set style url to /styles/dark.json
      • hosted in the public folder of each app
      • dark style adapted from maptiler.com basic-v2-dark style
    1. Gets the users location via http://ip-api.com/json/
    2. Uses map.flyTo to animate / zoom to the users location
    3. Displays a Popup on the map at the users location

Examples

Explorer des projets similaires

Chargement…