cityofdoral

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

Discussion created by cityofdoral on Jun 29, 2011
Latest reply on Aug 29, 2011 by seycho1981
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?

Outcomes