forked from MTSR/mapserver
fix coord lookup
This commit is contained in:
parent
b4425fe008
commit
ddd0213629
@ -58,7 +58,7 @@ var AbstractGeoJsonOverlay = L.LayerGroup.extend({
|
||||
var z2 = parseInt(max.lat);
|
||||
|
||||
api.getMapObjects(
|
||||
x1, y1, y1,
|
||||
x1, y1, z1,
|
||||
x2, y2, z2,
|
||||
this.type)
|
||||
.then(function(objects){
|
||||
|
@ -73,7 +73,7 @@ var AbstractIconOverlay = L.LayerGroup.extend({
|
||||
var z2 = parseInt(max.lat);
|
||||
|
||||
api.getMapObjects(
|
||||
x1, y1, y1,
|
||||
x1, y1, z1,
|
||||
x2, y2, z2,
|
||||
this.type)
|
||||
.then(function(objects){
|
||||
|
Loading…
Reference in New Issue
Block a user