Hello,By any chance could I get a look at the code you wrote to add the below graphic?Thanks,Niall
The viewer will handle coordinates in the URL that are not in the same spatial reference as the application, you just need to specify the wkid in the URL, eg:http://www.example.com/flexviewer/index.html?center=103.87,1.31,4326&level=8This URL tells the application that the coordinates are in wkid 4326 for geographic / decimal degrees.To put a point at the location would require you to some custom coding, there is nothing out of the box to do this.RegardsAnthony
http://www.example.com/flexviewer/index.html?center=103.87,1.31,4326&level=8
I got the code written to accomplish this -- by modifying MapManager.mxml to add a graphic at the center.I am having a problem with the infoTemplate for that graphic -- but otherwise, this is working pretty well.Essentially I followed the same steps Locate follows to place the graphic.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.