# HG changeset patch # User fknauft # Date 1315215301 -7200 # Node ID 6e6e78adb447bb571af395770ec70a40248a3a39 # Parent bdab16f83512f5c51a8741755d09102653dd1e2e show line and polygon-layer diff -r bdab16f83512 -r 6e6e78adb447 gis_gui/blocks/map.js --- a/gis_gui/blocks/map.js Mon Aug 01 21:35:27 2011 +0200 +++ b/gis_gui/blocks/map.js Mon Sep 05 11:35:01 2011 +0200 @@ -184,7 +184,9 @@ var layerurl = "../db/RESTdb/db/public/" + escape(params.table) + "?" + paramstr; jQuery.get(layerurl, function (data, textStatus, XMLHttpRequest) { // function after load kml url finished - console.debug("kml url loaded! this=", this, " data=", data, " ("+typeof(data)+")"); + console.debug("kml url loaded! this=", this ); + console.debug(" data=", data ); + console debug(" data type="+typeof(data)); if (typeof(data) == "string") { var kmlURL = data; } else { @@ -194,8 +196,10 @@ // render layer if (google != null) { var newMarker=new google.maps.KmlLayer(kmlURL); - console.debug("new marker layer=",newMarker," map=",map); + console.debug("new marker layer=",newMarker); + console.debug(" map=",map); newMarker.setMap(map); + console.debug("Map-Update finished"); } }); }