Commit 80551632 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

testing new function

parent 7af5d8cb
This diff is collapsed.
......@@ -1586,6 +1586,8 @@ X3DOMObject.createNewMarker = function(x,y,z){
// Update marker in Data
mark.latitude = map_mark._latlng.lat;
mark.longitude = map_mark._latlng.lng;
// used to be zero, but now it's not zero
mark.altitude = Data.camera.kml.altitude+xyz_real.y;
// register events for a new marker in Data
X3DOMObject.MapMarker.registerEvents(map_mark);
......
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