- Add a map to a page, e.g.
<mapframe latitude="46.725" longitude="7.668" zoom="8" width="350" height="300" />
- In VE open the map for editing. Use options "Draw a polygon" and "Draw a rectangle" to add elements to a map.
- When a polygon or a rectangle are added, "Edit layers" option becomes active. Click on it - the error will be displayed:
Uncaught TypeError: Cannot read property 'lat' of null
at Object.project
at Object.latLngToPoint
at NewClass.project
at NewClass._getMiddleLatLng
at NewClass._createMiddleMarker
at NewClass._initMarkers
at NewClass.addHooks
at NewClass._eachVertexHandler
at NewClass.addHooks