Select to view content in your preferred language

Zoom to user defined scale.

1033
2
08-16-2011 11:26 AM
UnivOmaha
Emerging Contributor
I am using ArcGIS API for flex 2.4 with ArcGIS server 10. I am trying to write the widget where user can define the map scale (type it in text box) and it will zoom to that scale. I successfully created a widget. But When I type scale in the text box it still zooms to the nearest LOD scale level. e.g. if i zoom to 5000 scale, it will take it as 4,514.

Could anyone suggest what change I need to make? Is there anything that needs to be defined in MapManager?
Tags (2)
0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Univ Omaha,

   Please post Flex Viewer questions to the Flex Viewer forum:

http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex

If you are using cached/tiled basemaps than you are confined to use the scales that the basemap is cached at unless you set the layer type to dynamic instead of tiled in the main config file (as this will ignore the pre-built LODs).
0 Kudos
UnivOmaha
Emerging Contributor
Thank you so much Robert. Sorry I was not sure if I should place it under VIEWER or API?
I moved to Viewer forum
http://forums.arcgis.com/threads/37507-Zoom-to-user-defined-scale.?p=126800#post126800
0 Kudos