Hi,
- In v2 we using the layer to add the layer from Mapserver to google
map so easy, but now in V3 it don't have the layer so how can we add
the layer from Mapserver to google map like V2
my example :
var tilePanels = new GTileLayer(null, null, null, {
tileUrlTemplate :mapLayerURL,
isPng :true,
opacity :1
});
var layer1=[G_NORMAL_MAP.getTileLayers()[0],tilePanels];
var custommap1 = new GMapType(layer1, G_SATELLITE_MAP.getProjection
(), "Map 1", G_SATELLITE_MAP);
if(myTileLayer){map.removeOverlay(myTileLayer);}
myTileLayer = new GTileLayerOverlay(tilePanels);
map.addOverlay(myTileLayer);
But in V3 we don't have them like V2.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.