'How to add a multipoint layer in Leaflet
I try to add a multipoint layer to a leaflet map. code: L.marker([[3.9, 43.9],[4.2, 44.1]]).addTo(myMap); gives the following error: "leaflet.js:5 Uncaught TypeError: Cannot read properties of null (reading 'lat')".
leaflet doc doesnt mention multipoint layers. How to add/display a multipoint layer in leaflet ?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|