Select to view content in your preferred language

crosshairVisible

642
2
12-03-2013 12:27 AM
VijaySarin
New Contributor
Hi,
I am using ArcGIs javascript API "http://js.arcgis.com/3.7/" for my web application.  I want to use something like "crosshairVisible"
property, so that I can highlight the center of the map. Could you please tell me, if there is any option available for ArcGIS javascript  API?
0 Kudos
2 Replies
BjornSvensson
Esri Regular Contributor
There's no equivalent to the Flex API's Map.crosshairVisible property, but you can just add an image in the middle (on top of the map).

Example: http://jsbin.com/ExUQume/2/edit  - CSS could probably be improved but it would get you a starting point...
0 Kudos
VijaySarin
New Contributor
Thanks Bjorn Svensson. That works.
0 Kudos