gwty-leaflet icon indicating copy to clipboard operation
gwty-leaflet copied to clipboard

Point is missing z (zoom)

Open aeromac opened this issue 7 years ago • 2 comments

Point is missing the z property - used in TileEvent.getCoords() - "Point object with tile's x, y, and z (zoom level) coordinates"

@JsProperty public double z;

aeromac avatar Oct 03 '18 10:10 aeromac

thanks for reporting. I would add it, but I am planning to deprecate the project or transfer it to somebody else to manage. is there any urgent need for this ?

Their documentation is a bit misleading here https://leafletjs.com/reference-1.0.0.html#tileevent. Even if they mention z in the description, when you click on point, you land at the Point definition which only has x, y.

zak905 avatar Oct 09 '18 10:10 zak905

Not urgent... I ended up using Js.asDouble(Js.asPropertyMap(coords).get("z")); The documentation is very misleading, I read it also and didn't see any mension of z for Point.

aeromac avatar Oct 09 '18 23:10 aeromac