Commit fad3b674 authored by Pierre Rudloff's avatar Pierre Rudloff Committed by Italo Mairo
Browse files

Issue #3228713 by prudloff: trigger_geocode() should zoom before panning

parent e67aed4b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -303,8 +303,8 @@
    trigger_geocode: function (mapid, position) {
      let self = this;
      self.setMarkerPosition(mapid, position);
      self.mapSetCenter(mapid, position);
      self.setZoomToFocus(mapid);
      self.mapSetCenter(mapid, position);
      self.setLatLngValues(mapid, position);
      self.setGeoaddressField(mapid, self.map_data[mapid].search.val());
    },