Select to view content in your preferred language

Map Interface

1080
4
10-03-2012 01:21 AM
muralikrishna
Emerging Contributor
Hi Team,

Please some help me on this.

Based on the data received from the backend system(SAP)  XML formate.


Kindly let me know how to render in ESRI maps (js hardcode).
0 Kudos
4 Replies
BetsySchenck-Gardner
Deactivated User
Not sure if this is what you are looking for, but yes you can read an XML file containing values and plot them onto the map.  Using dojox.data.XmlStore function, you can fetch out the values in the xml file and as long as there is a latitude and longitude position stored in the xml, you can generate a marker for it.  In the ArcGIS API for Javascript samples under Web Maps, there is a sample called Map with CSV data.  The concept is the same, just using a CSV file for input vs. an XML file.
0 Kudos
muralikrishna
Emerging Contributor
Attached is the data that will receive as an XML from the backend system(SAP)�?�.
Can we try and render this on an ESRI map�?�.

Suppose a sample web page which shows a map. Dynamically draw two nodes on the map and a line linking both the nodes. The nodes should be draggable across the map and the line should re-draw. With sample please
0 Kudos
__Rich_
Deactivated User
That's not XML.

I think you should look at this sample:

http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/data_requestXM...

...then look at any of the samples that programmatically render graphics and at least have a go at combining what you have learnt.

As for the dragging etc. there's a forum post that's (currently) one down in the list from this one where it's discussed - http://forums.arcgis.com/threads/28553-Drag-Graphics-Point-and-Drop-at-New-Location
0 Kudos
muralikrishna
Emerging Contributor
Based on the data received from the backend system information(SAP)

Dynamically draw on the ESRI MAPS. Can you please explain on that i am not ever on that.
In Feature layer it might be similar.
http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/inside_feature_layer...
0 Kudos