khajur

Base Map Gallery

Discussion created by khajur on May 1, 2012
Latest reply on May 1, 2012 by DSwingley-esristaff
Here is an example for using BING maps in Basemapgallery: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/widget_basemapbutton.html
I want to use ESRI maps (Imagery, Roads, and Hybrid (Imagery&Roads)). Is there a way to specify the layers in the same way Bing layers are defined instead of putting the whole URL? Like:
layers: [new esri.dijit.BasemapLayer({
            type: "BingMapsHybrid"
          })],

I tried putting ESRIMapsHybrid, but did not work.

Does anyone know?

Outcomes