Cannot read properties of null (reading 'lat') #1349
Replies: 4 comments 3 replies
-
After searching here is the correct error message (Deletion of leaflet map file) caught TypeError: Cannot read properties of null (reading 'lat') thank you for your help |
Beta Was this translation helpful? Give feedback.
-
The problem is in the Leaflet core library, in the You can also try if |
Beta Was this translation helpful? Give feedback.
-
Hi, I attach 2 files
Ps I still have problem with measurements |
Beta Was this translation helpful? Give feedback.
-
Hello I know that my interface is very inspired by your work (it's really very good) I saw on your site a great function for creating a circle with several levels of color + distance, are you ready to share your code just on the function or an example? |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have a problem when I use the rotate
-> Call
map.pm.enableGlobalRotateMode()
Error :
ojection.SphericalMercator.js:24 Uncaught TypeError: Cannot read properties of null (reading 'lat')
at Object.project (Projection.SphericalMercator.js:24:43)
at Object.project (CRS.js:48:26)
at ai (PolyUtil.js:75:19)
at e.getCenter (Polygon.js:71:10)
at e._getRotationCenter (leaflet-geoman.min.js:1:221806)
at e._onRotateStart (leaflet-geoman.min.js:1:219471)
at e.fire (Events.js:195:9)
at e._onDragStart (Marker.Drag.js:116:5)
at e.fire (Events.js:195:9)
at e._onMove (Draggable.js:148:9)
Beta Was this translation helpful? Give feedback.
All reactions