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

test fix

parent 79a151be
......@@ -127,6 +127,7 @@
var hecs = this.getHCState();
if (param.target){
latlng = param.latlng;
if (hecs){
......@@ -147,6 +148,7 @@
}
this._latlng = latlng;
this._measureBase = latlng;
this._updateCameraViewMarker();
},
......
......@@ -448,6 +448,8 @@
_syncMeasureMarkersToBasePoint: function(e){
console.log("sync measure markers");
if (this._measureMarkers.length!=0){
if (
(this._measureBase.lat!=this._latlng.lat)&&
......
......@@ -368,11 +368,11 @@ function parse_light_init_response(response,state,mode){
Scene = new X3DOMObject(element,Data,{});
Scene.initResize();
Map = new LeafletObject('leaflet_map',Data,{},function(){
$.getScript("js/x3dom/x3dom-full.debug.js",function(){
console.log("loaded x3dom");
//wait until it DOM is extended
x3dom.runtime.ready = function(){
......@@ -387,7 +387,7 @@ function parse_light_init_response(response,state,mode){
};
});
});
}else{
......
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