I am using Arcgis javascript API for my map where map is coming from arcgis online using map by ID. Now I want to set map center using Lat long,For this I am using this method to set map center
map.centerAt(42.58,78.25);
But this method is not working for me.
Is anybody know How to set map center using Lat Long In Arcgis javascript API.
Thanks
But this method is not working for me. Does anybody know how to set map center using Lat Long In Arcgis javascript API.