rmaaser

Bing coordinate system

Discussion created by rmaaser on Sep 10, 2010
Latest reply on Sep 10, 2010 by DSwingley-esristaff
I'm not very familiar with the various coordinate systems that are out there, but I have regular latitude & longitude values (in decimal format) that I'm trying to plot on various base maps using the javascript API. For most of the maps, it works fine if I use a SpatialReference specified as { wkid: 4326 } for my Point objects. However, when I use Bing as my base map (i.e. the only layer in my map is a VETiledLayer instance), the map always seems to use a SpatialReference with wkid 102100. Even if I change the spatialReference property of the map and use { wkid: 4326 } in my Point objects, I cannot get it to use the coordinate system I want. All of my lat/long points get plotted near Africa (at [0,0] in lat/long), whereas if I use x/y values in the millions, I can actually get the points in different parts of the map.

How can I plot regular latitude / longitude values on a Bing map?

Thanks,
Rebecca

Outcomes