I'm not sure if this is best way of approaching this, so I will explain where I'm coming from first.

I want to load data onto my webpage containing a map based off a lat/long point. The only way I know how to do this is to constantly be getting the a lat/lng point in the displayed map. Obviously this isn't very efficient since I either need to keep track of this point, or constantly be polling it. Each time I had the updated this point, I'd have to do some sort of processing to determine it's map location, which would add even more inefficiency. When I had that, I could then proceed to load my data.

My idea was that if I could pull down an id of map tiles of a particular region at a set zoom level, then I wouldn't need to do the crazy/complicated lat/lng processing. But, my stumbling block is that I don't know of any way this is possible.

  • So are you trying to find a map tile or a particular latitude/longitude point? Either way, you should not have to poll continuously unless you are looking at a moving target. – jvangeld May 18 '11 at 19:57
  • I might understand better now. Are you trying to load a map for an area that the user chooses? – jvangeld May 18 '11 at 20:00
  • Looking for some identifier for a map tile. If there are two tiles with some street intersection in each for example, I want to be able to do action X for the first tile, or action Y for the second. – Steven May 18 '11 at 20:02

So you want the Quadtile?

Google Map APi (v3) Quadtree visualized

enter image description here


Credit to Esa

| improve this answer | |
  • 1
    Wow, that is awesome. Would vote you up but I got no rep! – Steven May 25 '11 at 21:18
  • 1
    There you go... – Steven May 26 '11 at 3:13

It sounds like you're trying to pull tiles outside of the legitimate API methods. You will likely get your access cut off if you do this. Anyway...


That's the URL from one Google map tile. You can find these by examining the browser activity in Safari or with the Firefox Firebug add-on.

| improve this answer | |
  • 1
    Well the tiles are already going to be displayed on the page in whichever container I'm using so I won't have to do any extra work (pull tiles). I'm looking for a way to get an identifier of the centermost tile (if possible) displayed in the container. – Steven May 18 '11 at 21:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.