LocateButton in JS

434
0
11-03-2013 02:01 AM
AbdulAzizFarooqi
New Contributor
I m new to ARCGIS, I need to consume the LocateButton widget,
http://developers.arcgis.com/en/javascript/sandbox/sandbox.html?sample=widget_locate
but in abvoe example, i dont want user to click for location, it should automatically come, i.e.
X and Y Cordinates I already having, in our database, i need widget_locate function to fun on page load.

Kindly help, where can i get this funciton to execute whenever i need to execute on page.
Tags (2)
0 Kudos
0 Replies