Skip to content
프로젝트

w3cj/openfreemap-examples

GitHub에서 보기

소개

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

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+2
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

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

관련 프로젝트 살펴보기

불러오는 중…