Mercurial > hg > ChinaGisRestApi
changeset 231:0a3303682712
Upload of xml-tables with empty Cells possible
author | fknauft |
---|---|
date | Fri, 29 Apr 2011 17:35:14 +0200 |
parents | 9e34cd7b2e57 |
children | f930ce2583a0 |
files | gis_gui/blocks/layer.js gis_gui/blocks/map.js |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
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 };
--- a/gis_gui/blocks/map.js Fri Apr 29 14:27:37 2011 +0200 +++ b/gis_gui/blocks/map.js Fri Apr 29 17:35:14 2011 +0200 @@ -138,7 +138,7 @@ guiBlocks.Block.prototype.updateMap = function(elem,map_params) { //************ - alert("bin in updateMap:" + elem + ", " + map_params) + //alert("bin in updateMap:" + elem + ", " + map_params) //************* if (elem == null) { @@ -154,7 +154,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 };