fix getting wrong coordinates for places in list

This commit is contained in:
Sanjay Bhangar 2025-08-09 17:23:30 +02:00
commit 411cfed6cc
4 changed files with 7 additions and 18 deletions

View file

@ -306,9 +306,7 @@ Ox.MapMarker = function(options) {
() -> <f> edit marker, returns MapMarker
@*/
that.edit = function() {
console.log('MAPMARKER.EDIT - before setOptions, marker on map?', that.marker._map !== null);
setOptions();
console.log('MAPMARKER.EDIT - after setOptions, marker on map?', that.marker._map !== null);
that.marker.on('dragstart', dragstart);
that.marker.on('drag', drag);
that.marker.on('dragend', dragend);