Mercurial > hg > ChinaGisRestApi
diff gis_gui/blocks/layer.js @ 231:0a3303682712
Upload of xml-tables with empty Cells possible
author | fknauft |
---|---|
date | Fri, 29 Apr 2011 17:35:14 +0200 |
parents | b8c4870cf45f |
children | 7c5d825a0083 |
line wrap: on
line diff
--- a/gis_gui/blocks/layer.js Fri Apr 29 14:27:37 2011 +0200 +++ b/gis_gui/blocks/layer.js Fri Apr 29 17:35:14 2011 +0200 @@ -124,7 +124,7 @@ paramstr += "&connect_line="+params.connect_line; } var layerurl = "../db/RESTdb/db/public/" + escape(params.table) + "?" + paramstr; - alert(layerurl); + //alert(layerurl); jQuery.get(layerurl, function(data, textStatus, XMLHttpRequest) { // function after load kml url finished console.debug("kml url loaded! this=", this, " data=", data, " ("+typeof(data)+")"); @@ -137,7 +137,7 @@ if (google != null) { var latlng = new google.maps.LatLng(29, 116); var mapOpts = { - zoom: 1, + zoom: 2, center: latlng, mapTypeId: google.maps.MapTypeId.TERRAIN };