Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Point is missing z (zoom) #18

Open
aeromac opened this issue Oct 3, 2018 · 2 comments
Open

Point is missing z (zoom) #18

aeromac opened this issue Oct 3, 2018 · 2 comments
Labels

Comments

@aeromac
Copy link

aeromac commented Oct 3, 2018

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;

@zak905
Copy link
Member

zak905 commented Oct 9, 2018

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 zak905 added the bug label Oct 9, 2018
@aeromac
Copy link
Author

aeromac commented Oct 9, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants