我們在上一篇介紹到如何使用 Leaflet 與 OpenStreetMap 來製作地圖,不過上一篇是直接使用CDN 的方式 ... iconUrl: require("leaflet/dist/images/marker-icon.png"), ...
確定! 回上一頁