Invoke Map Tip inconsistency
I've had this issue a few times and do not udnerstand the inconsistency. We have a few workflows that open the map tip for a feature at the end. This particular workflow performs a search on an auto-complete box, queries the result and then zooms to the selection. I am buffering the selected point and creating an envelope for the zoom to work. We then use this same Geometry for the "Invoke Map Tip" external command. We are also turning the layer visibiluity for selected feature to true prior to the zoom and map tip.
The issue is, the map tip doesnt come up in the initial run of the workflow. The search is done and the map zooms to the point and turns the layer on but no map tip. If the tool is run again in the same session, the map tip will open. The workflow is exited at the end after run so it's not like anything is open. Do you think setting the layer visibility to on before running the query would affect this?
0
-
Hi Matthew, "Do you think setting the layer visibility to on before running the query would affect this?" What happens when (after running the workflow once or twice) you toggle the layer back off manually and then run the workflow again? If the maptip doesn't appear then, it's safe to assume it's a layer visibility issue.
Which version of the HTML5 viewer are you using? Version 2.11 introduced a deferred module loading behaviour- the viewer loads a lot faster now because it doesn't load all of its modules right away on start up. Then when you use tools and workflows, it loads more modules as they're needed. When you see unexpected behaviour that only happens the first time you run a workflow, this is often the culprit (the module gets loaded the first time the workflow is run, but it's too late to get the right behaviour to appear right away). If you're using 2.11, I'll write out some steps for determining if that's the issue and applying a workaround.0 -
Amanda,
Changing the visibility to turn on earlier in the workflow didnt solve the issue. When I manually turned it off and ran the workflow again, the map tips worked. We are on version 2.10.1.0 -
Is there a way to invoke the map tip on the seelcted feature set, or after a select features activity? Does this have to run off a geometry? Now I'm gettibng an issue where the map tip is also invoked on the parcel the point resides on. (Which is also map tipped). Is it possible to Select the feature and activate the map tip view instead? 0
Please sign in to leave a comment.
Comments
3 comments