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);
|
var z2 = parseInt(max.lat);
|
||||||
|
|
||||||
api.getMapObjects(
|
api.getMapObjects(
|
||||||
x1, y1, y1,
|
x1, y1, z1,
|
||||||
x2, y2, z2,
|
x2, y2, z2,
|
||||||
this.type)
|
this.type)
|
||||||
.then(function(objects){
|
.then(function(objects){
|
||||||
|
@ -73,7 +73,7 @@ var AbstractIconOverlay = L.LayerGroup.extend({
|
|||||||
var z2 = parseInt(max.lat);
|
var z2 = parseInt(max.lat);
|
||||||
|
|
||||||
api.getMapObjects(
|
api.getMapObjects(
|
||||||
x1, y1, y1,
|
x1, y1, z1,
|
||||||
x2, y2, z2,
|
x2, y2, z2,
|
||||||
this.type)
|
this.type)
|
||||||
.then(function(objects){
|
.then(function(objects){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user