Commit 89aabfd0 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

fixed kml saving

parent 12ea2a07
...@@ -101,7 +101,7 @@ $(function(){ ...@@ -101,7 +101,7 @@ $(function(){
SETTINGS.files.x3d = SETTINGS.basepath+"/"+SETTINGS.path+"/"+SETTINGS.version+"/"+SETTINGS.path+".x3d"; SETTINGS.files.x3d = SETTINGS.basepath+"/"+SETTINGS.path+"/"+SETTINGS.version+"/"+SETTINGS.path+".x3d";
SETTINGS.files.x3d_background = SETTINGS.basepath+"/"+SETTINGS.path+"/"+SETTINGS.version+"/"+SETTINGS.path+"-texture-bgnd-ext.jpeg"; SETTINGS.files.x3d_background = SETTINGS.basepath+"/"+SETTINGS.path+"/"+SETTINGS.version+"/"+SETTINGS.path+"-texture-bgnd-ext.jpeg";
// always reload kml // always reload kml
SETTINGS.files.kml = SETTINGS.basepath+"/"+SETTINGS.path+"/"+SETTINGS.path+".kml?"+Date.now(); SETTINGS.files.kml = SETTINGS.basepath+"/"+SETTINGS.path+"/"+SETTINGS.path+".kml";
title_init(); title_init();
help_init(); help_init();
...@@ -158,7 +158,7 @@ function light_init(){ ...@@ -158,7 +158,7 @@ function light_init(){
x3delement.append(model); x3delement.append(model);
$.ajax({ $.ajax({
url: SETTINGS.files.kml, url: SETTINGS.files.kml+"?"+Date.now(),
success: function(response){ success: function(response){
var longitude = parseFloat($(response).find("Camera").find("longitude").text()); var longitude = parseFloat($(response).find("Camera").find("longitude").text());
......
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