Google Map API V3 - How to create a custom dynamic layer and overlay it

3483
1
06-29-2011 12:15 PM
AlexisPeña
New Contributor
Using Google Map API V2 and ArcGIS API for JavaScript, I create a custom dynamic layer and add it to google map as follow:
     
//esri.arcgis.gmaps.DynamicMapServiceLayer(url,esri.arcgis.gmaps.ImageParameters?,opacity?,callback?);
      var dynamicMap = new esri.arcgis.gmaps.DynamicMapServiceLayer("http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Population_World/MapServer", null, 0.75, dynmapcallback);
    }

    function dynmapcallback(groundov) {
      //Add groundoverlay to map using gmap.addOverlay()
      gmap.addOverlay(groundov);
      dynMapOv = groundov;
    }


I'm migrating the code to use Google Map API V3, but I missing the part to overlay the dynamic services.

Any advise? Is there a way to achieve this?
1 Reply