Create
Notifications
Profile
Pin
wangwailok's profile picture
啱啱整咗個Open Source 嘅JS Map 俾大家用✅土地署數據,唔駛再捱Google Api ✅本地極速,完全免費(全靠大家交稅,政府api,唔駛同佢慳流量)冇mcp, 但vibe code 的話 api 好簡單,你啪我條github link 落AI, 是但一個model 都睇得明支援Dark Mode(雖然政府個dark mode好核突)、中英文Label、marker、自訂 popup,event listener ,超易 integrate 落你個 Web app(有React, CDN/Vanilla JS 版本)!唔使再靠 Google Maps 啦!npm : npmjs.com/packa… github : github.com/wangw…#香港開源 #hongkongmap #hkdeveloper #vibeCoding  
Translate
Audio is muted
Like
100
Comment
16
Repost
10
Share
42
anscg_'s profile picture
A Threads user's profile picture
Liked by original author
maplibre wrapper??? 點解我唔直接用 maplibre 要用你依個閹割版 wrapper? 又冇得加 custom layer (which is 99% 地圖 �usage) 又冇得用 easeTo 等等黎控制地圖位置 (除非你用useEffect,但係始終都要 import maplibre 嘅 types,噉點解唔直接用 maplibre??) 更加冇得加 maplibre built in 嘅地圖控制> "完全免費 – 無需 API Key、無使用限制、無賬單。永遠。" 地政 raster �tiles 無論用唔用你個 wrapper 都係免費嘅成個 library 基本上幾行就做到  
Translate
May be an image of text that says 'import maplibregl from const = new 'maplibre-gl'; map container 22 3193] maplibregl Map({ map' style 'https: /mapapi geodata gov. hk/gs/api/v1 /resources/styles/root.json' json' center [114 1694 zoom 12 transformRequest: if (resourceType return { url url replace(' .replace('../../' ١//٠ 'https:/ /mapapi geodata gov wv.hk/gs/p/1.0/a/ }; (url === resourceType) =>{ SouIce && url includes( ../../')){ return { url url}; };'
Like
39
Comment
2
Repost
Share
2
anscg_'s profile picture
而且你個簡介完全係呃人,感覺係係用 AI 寫  
Translate
May be a graphic of map and text that says 'Hong Kong Open Map Founder Founder & Developer 1 An open-source geospatial platform providing accessible mapping and data visualization tools for Hong Kong. Enables community-driven driven mapping and geographic data analysis. Open Source Geospatial Community'
Like
5
Comment
Repost
Share
shedaniel's profile picture
原來香港政府有maplibre compatible嘅data😭🤌🤌 我之前仲自己compress osm data  
Translate
Like
Comment
1
Repost
Share
anscg_'s profile picture
政府有 out of the box 用到嘅 raster tiles, 但係 vector tiles 有啲難搞建議用 OSM data gen 出嚟嘅 PMTiles, 可以免費用github.com/wheel…  
Translate
Like
Comment
1
Repost
Share
shedaniel's profile picture
笑死 我就係用緊PMTiles  
Translate
Like
1
Comment
Repost
Share
Log in to see more replies.
Log in or sign up for ThreadsSee what people are talking about and join the conversation.
Instagram
Continue with Instagram
Log in with username instead