User1205669949 posted
Hello Everyone,
I am using a ammap tool from ammap.com which is similar to google map. Issue i am facing is reloading the map on the click of an asp.net button. i.e. when i click the button there is lot of data changed and i want the latest data to be reflected on
the map. I spoke with ammap and they informed me to use
document.getElementById('map_instance_id').reloadData('data_url');
Below is the code to load the map which collects the data from xml stored in specific location.
<script type="text/javascript">
var profileId = document.getElementById('ctl12_hidProfileId').value;
alert(profileId);
var so = new SWFObject("../map/ammap/ammap.swf", profileId, "700", "450", "8", "#444444");
so.addVariable("path", "../Map/ammap/");
so.addVariable("settings_file", escape("../map/ammap/ammap_settings.xml")); // you can set two
or more different settings files here (separated by commas)
so.addVariable("data_file", escape("../map/ammap/ammap_data.xml"));
</script>
I am not sure how to proceed .