Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selecting a result in Find Widget zooms to and opens info window #216

Open
MesquiteGIS opened this issue Sep 18, 2014 · 5 comments
Open

Comments

@MesquiteGIS
Copy link

I was wondering if anyone has been able to add the functionality that when a result is selected in the find widget window, the map zooms to selection and opens the info window. As it is now I have to clear my results and then select the feature.

Thanks!

@friendde
Copy link
Contributor

This is a known issue and will be fixed in next release.

@MesquiteGIS
Copy link
Author

Got it. I thought I read that.

Thanks!

@friendde
Copy link
Contributor

By the way you can always review Closed issues in case someone else posted a similar question.

@friendde
Copy link
Contributor

;)

@tmcgee
Copy link
Member

tmcgee commented Sep 18, 2014

Let's break this apart.

The issue that has been fixed in the upcoming release is that when you clicked on a point on the map that had a graphic (from the Find widget or other widget), it prevented the Identify from triggering. That will no longer occur in the new release.

As I read the original request from @MesquiteGIS, the desired behavior is to automatically open the infoWindow after zooming to a selected feature. When the zooming occurs, there is no additional information to display in an infoWindow - all CMV knows at that point is the limited details already displayed in the Find results grid. So, currently it would still take a mouse click over the feature to trigger an identify. Depending on the application's configuration, the infoWindow from the identify might show details for additional features from multiple layers at that location on the map.

I said "currently it would still take a mouse click". I have some initial thoughts for future CMV functionality to chain together events like the zoom to selected + identify in the case described here. I did something very similar in the ArcIMS days more than a decade ago. That type of functionality for CMV is most likely a ways off though probably not a whole decade away. ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants