Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 872
Kevin Avatar asked Feb 02 '11 14:02

Kevin


1 Answers

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.

like image 159
dbryson Avatar answered Sep 19 '22 09:09

dbryson