I have custom radar tiles that I am trying to overlay over Google Maps in an Android application. My question is how do I know what Google tiles are currently showing on my phone device to know which of my custom tiles to load on top?
Share
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.
I’m not 100% sure that Android does it the same way as the JavaScript Maps API v3 does it, but since it probably does:
You can review the info here: http://code.google.com/apis/maps/documentation/javascript/maptypes.html#CustomMapTypes.
A specific tile is specified by three things: the zoom level, the x coordinate, and the y coordinate. Based on the info in the above link, you can determine what area of the world to render as a 256×256 tile based on those three integers. Pay special attention to the “Tile Coordinates” section of the above document.