修复天地图bug
This commit is contained in:
parent
dc07c69bf6
commit
61b7012977
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue