Hi,
I have created and published a GP tool which searches a feature class using a few parameters (user inputs). During publishing the tool I have chosen to use a map service to show the result. Everything works fine when the tool actually finds a feature. But when the result set is empty (and the map service has nothing to show) Flex Viewer zooms out and then the map is empty (scale dependencies in my basemap). Is there any way of avoiding this? The other thing is that I do not need a map service showing the results but when I visualize it using graphics the viewer does not zoom/pan to retrieved features (although they are being shown correctly in the map).
Is there any way to force Flex Viewer to zoom in to retrieved features?
Thanx,
B.
I have created and published a GP tool which searches a feature class using a few parameters (user inputs). During publishing the tool I have chosen to use a map service to show the result. Everything works fine when the tool actually finds a feature. But when the result set is empty (and the map service has nothing to show) Flex Viewer zooms out and then the map is empty (scale dependencies in my basemap). Is there any way of avoiding this? The other thing is that I do not need a map service showing the results but when I visualize it using graphics the viewer does not zoom/pan to retrieved features (although they are being shown correctly in the map).
Is there any way to force Flex Viewer to zoom in to retrieved features?
Thanx,
B.