Reputation: 13226
How can you use a custom tileset/overlay on a Google map, like was done here:
That is pretty cool, and I would like to experiment with this.
Upvotes: 6
Views: 19319
Reputation: 160043
You'll want to look at Google's Overlays (especially Custom Overlays) and Custom Map Types documentation for Version 3 of their Maps API.
Upvotes: 4
Reputation: 6127
There are a couple different ways to do it. One way is to create a GTileLayer object and implement the getTileURL() to return the URL pointing to your tiles.
But first you'll need an image that's cut properly in the tile format. For starters, I'd recommend you look at MapTiler: http://www.maptiler.org/ It will cut images for you AND generate a GoogleMap with the overlay.
Upvotes: 12