Select to view content in your preferred language

Simple? Add polygon of Lat/Long points to map

8794
10
02-11-2011 06:44 AM
BrentStevener
Deactivated User
I am new to the Javascript API, but have found it quite difficult to try to do a simple thing I am wanting to test. I have a set of points that make up a polygon. These points are in Lat/Lon (ex. x=-107.36,y=25.29). I just want to add a polygon and show it on a map, with the ESRI World Imagery base layer behind it. I can get the basemap to show, but I can't seem to find the right code to create a polygon with my lat/long points and add it to the map.

Any help?
0 Kudos
10 Replies
BrentStevener
Deactivated User
Firefox, but I probably didn't have it set up right for Javascript debugging (.NET/Silverlight/Windows shop here). I just tried to duplicate a test we had using the Silverlight API, but using the Javascript API instead. Looking to fix that debugging problem as we speak.
0 Kudos