Revisiting the "ZoomToSelected" thread
A while ago there was a thread discussing how to implement a workflow that zooms to a selected feature. (https://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&id=906600000000AbUAAU) ZoomToSelected
Colin and Jonathon each submitted sample workflows. I've used each as the starting point for workflows and have a couple of observations and questions.
The (http://support.geocortex.com/Data/Sites/1/media/forumfiles/samplezoom.zip) sample submitted by Colin worked great as the basis for a workflow that searches and zooms in when the features are polygons. When looking at the workflow output, the polygon feature search returns the expected X-Y min-max extent info. However, when a point feature is searched with the same workflow, the zoom doesn't occur. Looking at the workflow output in the simulator, I see spatial reference info appended to the X-Y extent info.
Any ideas why the spatial info is included on the point features but not the polygon features?
When I ran into that problem, I decided to give the buffered zoom (http://support.geocortex.com/Data/Sites/1/media/forumfiles/bufferedzoom.zip) sample submitted by Jonathon a try. That sample provided the desired zoom to the selected point feature, however, the information displayed in the Results pane does not reflect the layer configuration in the site.xml file. In fact, the results only show the default "globe" icon with no additional information. The same is true with the map tip that is displayed. It's basically an empty window with a link to "View Additional Details". The additional details are correct.
Any ideas where are the results coming from if the site.xml configuration is being bypassed?
One final question, Colin mentioned in the original thread he was, "...going to put in a feature request for an Activity that takes in an Esri featureSet and zooms the map to that extent." Any word on the status of that request?
Thanks,
Steve
-
Steven, you might get a better response if you you posted this to the Workflow forum...
0 -
Thanks Mike, you're probably right about the forum choice. The original thread started in the Silverlight forum, though, so I thought I'd start here. I'll repost in Workflows...
0 -
Steven, yes I remember that post. It was before LG started the Workflow forum. I think they copied all of the prior workflow related posts to the Workflow forum after they created it.
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
3 kommentarer