Alex
Alex

Reputation: 3790

tiled textures across a google map in javascript

Using the google maps v3 javascript API, it's possible to add 'GroundOverlays' as a picture. Have a look here: http://jsfiddle.net/9YYJB/1/

However, I'm working on a project where I'm trying to add a texture to the whole world map. Obviously I can add a single, absolutely massive gif/png overlay but I'd rather add a tiling texture. I've been digging around in the API and can't find any way to do this.

Anyone have any ideas on how this could be done?

Thanks very much

Upvotes: 2

Views: 1533

Answers (1)

Mano Marks
Mano Marks

Reputation: 8819

Yes, what you want to use is an image map type. This allows you to add tiles on top of the regular Google Base Map. If you want to completely replace the Google tiles, you would need to implement a Custom Map Type. My favorite example of that is the Liberty City Map.

Upvotes: 1

Related Questions