Bing Maps and ElementLayer Problem

718
1
09-19-2011 09:06 PM
Labels (1)
TurkerTURKEN
New Contributor
When using ElementLayer with Bing TileLayer Map, SetEnvelope doesn't work for the objects. All objects seem to be positioned at (0,0) on the map.
You can see the problem easily in ArcgisWpfSdk > Mapping > ElementLayer, by removing ArcgisStreetMap and adding a BingMap instead.
Is it a bug?
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
You are talking about this SDK sample, right? http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ElementLayer

The following code, respects the Map.Extent. Changing the base layer to Bing.TileLayer, may have modified the Map's Extent. You will need to modify these values to conform to the new extent.
 esri:ElementLayer.Envelope="-117,34,-117,34"
0 Kudos