Skip to content
プロジェクト

w3cj/openfreemap-examples

GitHubで見る

概要

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

Web・アプリ開発

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
+2
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

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

関連プロジェクトを探す

読み込み中…