Kevin
Kevin

Reputation: 13226

Custom Google Map overlay?

How can you use a custom tileset/overlay on a Google map, like was done here:

http://www.philaplace.org

That is pretty cool, and I would like to experiment with this.

Upvotes: 6

Views: 19319

Answers (2)

Sean Vieira
Sean Vieira

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

dbryson
dbryson

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

Related Questions