Look at your CustomGetTileUrl() function.

The URL returned by that function determines what custom map tiles
will be displayed.

To swap from one set of custom map tiles to another you will need to
modify that function to return the URL of the required tiles.

I use that technique on my panoramas here:
http://martinpearman.co.uk/

Click any map marker to show a panorama - the panorama being a custom
map.
Now click any other marker to select another panorama and my map
requests a different tile set.

This is the line where the URLs to panoramas tiles is created.

return 'tiles/'+viewer._cache[viewer._selectedPanorama].name
+'/'+zoomLevel+'_'+point.x+'x'+point.y+'.jpg';

Martin.


On 14 Aug, 11:47, trez <[email protected]> wrote:
> Hi!
> I would change custom maps dinamically.
> I have my own custom map 
> (http://www.cavallabianca.it/culturalHeritage/components/com_artmanage...
> ) and now, when i click the button "change", i would change the map in
> another custom map.
>
> How can i do it?
> Thanks!!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to