mleahyesri-ca-esridist

How to define a webmap object to use with esri.arcgis.utils.createMap()

Discussion created by mleahyesri-ca-esridist Employee on Oct 19, 2012
Latest reply on Oct 22, 2012 by mleahyesri-ca-esridist
Hello all,

I've been looking at one of the samples in the JavaScript API documentation that outlines how to the createMap() function to produce webmap using an object, rather than a webmap ID:  http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/ags_createwebmapitem.html


Would anyone know of a reference for what the properties of a webmap object may contain?  For example, it would be nice to be able to set the popup configuration for an operational layer, much like what happens if the webmap object is derived from a prepared webmap ID hosted on ArcGIS.com.  Or is it better to rely on generating infoTemplate objects and applying them to feature layers or graphics after the map has loaded?

Outcomes