rak2025

Drawing on ArcGIS map using Javascript

Discussion created by rak2025 on May 17, 2013
Latest reply on May 23, 2013 by Jian
Dear Techies:

I am a web developer with negligible knowledge of GIS. I have been assigned a task of developing a webpage where map from clients ArcGIS server will be displayed. User should be able to draw lines, arcs , circles , points and paths on it and later save it as an image.

For development purpose, I received some shape files from the task assigner which I published at ESRI by creating a Global Account. The same can be viewed at http://bit.ly/11KIfJd or http://www.arcgis.com/home/webmap/viewer.html?webmap=0e0a77165518468198248c5663dfe8ee&extent=49.8832,26.3824,50.2382,26.5551



While browsing through the examples of http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/, I found javascript code example which can provide me all the required functionality. The examples show OpenStreetMaps. Now when I try to replace the code urls from OpenStreetmap urls to the above urls (http://bit.ly/11KIfJd or http://www.arcgis.com/home/webmap/viewer.html?webmap=0e0a77165518468198248c5663dfe8ee&extent=49.8832,26.3824,50.2382,26.5551
),nothing is displayed.

If you can help me in this regard, that will be highly appreciated.

Regards

Outcomes