Skip to content
Proyek

w3cj/openfreemap-examples

Lihat di GitHub

Tentang

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

Pengembangan web dan aplikasi

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
+2
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

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

Jelajahi proyek terkait

Memuat…