修复天地图bug

This commit is contained in:
wlx 2014-09-17 13:57:19 +00:00
parent dc07c69bf6
commit 61b7012977
1 changed files with 4 additions and 4 deletions

View File

@ -93,10 +93,10 @@ function InputValueChange(){
var p4=new TLngLat($(input.east).val(),$(input.south).val());
map.setViewport(new Array(p1,p2,p3,p4));
var west=$(input.west).val();
var east=$(input.east).val();
var north=$(input.north).val();
var south=$(input.south).val();
var west=parseFloat($(input.west).val());
var east=parseFloat($(input.east).val());
var north=parseFloat($(input.north).val());
var south=parseFloat($(input.south).val());
var bounds = new TBounds(west,south,east,north);
rect = new TRect(bounds);
map.addOverLay(rect);