Ionic e
ฝัง
- เผยแพร่เมื่อ 22 ต.ค. 2024
- Neste vídeo apresento como colocar mapa (OpenStreetMap) e Leaflet, em um projeto Ionic + angular.
Comandos usando para instalação:
npm install leaflet
npm install @types/leaflet --save-dev
Base: www.openstreet...
LeaftLet: leafletjs.com/
Espero ter colaborado, qualquer dúvida é só chamar.
Estou tendo esse erro: "Unknown error: Error [ERR_REQUIRE_ESM]: require() of ES Module" depois de ter instalado a lib do leaflet ao rodar o comando: "ionic serve --configuration=development"