Select to view content in your preferred language

XY Coordinates

844
6
10-12-2010 01:01 PM
NadeemShaukat
Deactivated User
In ESRI's online seminar demonstration on 9/23/10, XY coordinates were shown below the scalebar, but in flexViewer 2.1 does not show them. Should it be by default or some change must be made in the config file?
Tags (2)
0 Kudos
6 Replies
RobertScheitlin__GISP
MVP Emeritus
Nadeem,

You have to add the coodinateWidget like this to the config
 <widget left="3" bottom="3" config="widgets/Coordinate/CoordinateWidget.xml" url="widgets/Coordinate/CoordinateWidget.swf"/>
0 Kudos
PaulLang
Deactivated User
Widget loads with an icon.
I would like it to preload with no icon.

This gets the preload, but how do you remove the icon
preload="open" icon=""
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Paul,

   The coordinateWidget is not suppose to go in a widget container and that is likely your issue. Look at the config-all.xml for an example of where to put this widget in your config file.
0 Kudos
PaulLang
Deactivated User
Thanks for your response and all that you do for our profession.

This statement already is in config-all.xml, but the coordinates do not display.  If I add to container coordinates will display.


  <widget left="3" bottom="3" config="widgets/Coordinate/CoordinateWidget.xml" url="widgets/Coordinate/CoordinateWidget.swf"/>

Got it!
0 Kudos
NadeemShaukat
Deactivated User
Robert,

Thanks much for your help. I did exactly what you suggested and the coordinates show up under the scale bar without an icon in the Widgets Bar.
0 Kudos
PaulLang
Deactivated User
It worked for me also; I did edit my last post to say Got it!
0 Kudos