- Yes thanks you somuch. But now I don't know the way to add the layer
from map server.
- The map server return the images 256x256 so we can get these images,
and in api v2, it's very easy to add the layer by this code below:

function addLayer(){
  mapLayerURL = getLayerUrl();
  alert(mapLayerURL);
    var tilePanels = new GTileLayer(null, null, null, {
        tileUrlTemplate :mapLayerURL,
        isPng :true,
        opacity :1
    });
        alert(tilePanels);
   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);
  }

===> with the mapLayerURL is the url to get the images from map
server.
 
http://192.168.72.129/cgi-bin/mapservtile.fcgi?map=/mnt/share/MapIt/bangla.map&layers=lake%20area%20bubble&mode=tile&cutwidth=100&tilemode=gmap&tile=132+90+8

===> and then we new GTileLayerOverlay object and add it to the map
by  map.addOverlay(myTileLayer).

But if we using API V3 we can't do it...hix..please help me. thanks
alot.

--

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.


Reply via email to