I need to get the tile number (x, y, z) for a clicked marker using the Google Maps API v3.
There is little documentation available which discusses this. How would I even start?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
map.getProjection()) to convert to world coordinates (also known as point plane).pixelCoordinateX = parseInt(worldCoordinateX * Math.pow(2, zoom), 10). Same concept for the ‘y’ coordinate.x = parseInt(pixelCoordinateX / 256, 10).See the Map Types concepts in the Google Maps API Reference.