esri.arcgis.utils.createMap
"baseMap": { "baseMapLayers": [{ "id": "BingMapsAerial", "opacity": 0.8200000000000001, "visibility": true, "type": "BingMapsAerial" }], "title": "Bing Maps Aerial" }, "widgets": { "editor": {} }, "version": "1.6"
Solved! Go to Solution.
layer = new esri.virtualearth.VETiledLayer({ bingMapsKey: options.bingMapsKey, mapStyle: style, id: layerObject.id, opacity:layerObject.opacity });
The webmap that i linked to is to be used as a test webmap to be consumed in the JavaScript API as shown in the sample that i also linked to:
http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/ags_createwebm...
Therefore, a small amount of coding will be needed to embed the test webmap in the sample page in order to properly test for the bug.
The results you saw were expected - the webmap does honour the basemap transparency when viewed in the ArcGIS.com viewer. It is not however honoured when the sample webmap is embedded in the sample page listed above.
layer = new esri.virtualearth.VETiledLayer({ bingMapsKey: options.bingMapsKey, mapStyle: style, id: layerObject.id, opacity:layerObject.opacity });
Rich,
On which object is the _initLayer method?
Sam
Rich,
I found that method and implemented the fix locally and it does work.
I am logging the bug and will post a bug reference when i get it.
Thanks,
Sam