InvokeMapTip Behavior
I recently created a map of all the sites in my county that are currently testing for COVID-19. We are considering making it public soon, so I made a workflow that looks for sites within a 5-minute drive time from the user's location and then displays the results in the results table. However, if there is only one result, I want a map tip to show up instead of the results table.
I tried using the command "InvokeMapTip" with the appropriate point as the parameter, but it isn't working for some reason. The weird thing is that if I put a markup over the testing site point, it shows a map tip for the drawing but not for the actual testing site. Map tips are definitely enabled for this layer, and if I manually click on the map during/after the workflow, the map tip shows up. I also double checked to make sure that the map service is in web mercator, so it's not a projection issue.
I have another workflow that allows users to search for a site by its name, and "InvokeMapTip" works as expected in that workflow. The main difference between the two workflows is that the one that searches by name doesn't involve a drive-time polygon. I saw another post from someone who couldn't get this command to work after they used a buffer in the workflow, so I thought maybe the invisible polygon was somehow blocking the testing site from being clicked. But I set the feature set that the drive-time polygon is in equal to Nothing before I tried invoking the map tip, and it didn't make a difference.
Has anybody else been able to find a workaround for this issue?
Thanks,
Denise
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
0 kommentarer