Commit 42bac9b7 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

test fix

parent 79a151be
...@@ -127,6 +127,7 @@ ...@@ -127,6 +127,7 @@
var hecs = this.getHCState(); var hecs = this.getHCState();
if (param.target){ if (param.target){
latlng = param.latlng; latlng = param.latlng;
if (hecs){ if (hecs){
...@@ -147,6 +148,7 @@ ...@@ -147,6 +148,7 @@
} }
this._latlng = latlng; this._latlng = latlng;
this._measureBase = latlng;
this._updateCameraViewMarker(); this._updateCameraViewMarker();
}, },
......
...@@ -448,6 +448,8 @@ ...@@ -448,6 +448,8 @@
_syncMeasureMarkersToBasePoint: function(e){ _syncMeasureMarkersToBasePoint: function(e){
console.log("sync measure markers");
if (this._measureMarkers.length!=0){ if (this._measureMarkers.length!=0){
if ( if (
(this._measureBase.lat!=this._latlng.lat)&& (this._measureBase.lat!=this._latlng.lat)&&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment