Execute identify tool
I am making a URL call from a standard web page to my map application that queries a feature, zooms the map in and turns on a layer. This part works great. Now instead of showing the standard query results in the data frame I would like to view either the identify results or drill identify results for the map center and haven't been successful. Can anyone offer insight on how to achieve this?
Thanks,
Tina
-
Hi Tina,
There is an "identify" url parameter that may meet your needs. It accepts either an extent or a point. For example:
http://yourserver/Viewer.html? identify=-9000497.128, 4194606.191
To pass an extent, specify the minimum X/Y and maximum X/Y bounds in the same comma delimited manner, i.e. identify=-9000497.129, 4194606.191, -9000597.128 , 4194706.192
Note that the identify instruction will perform the identify operation at the current scale. If your identify module is set to identify on visible layers only, you'll only get results from layers visible at the initial extent of your map. You may wish to set up your Site so that the layer you want to identify on is initially visible and within reasonable range for the identify operation.
Hope this helps!
- Jason
0 -
Jason,
That is just what I needed. Works great. Thanks!
Tina
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer