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

Add new map.setFocus function #767

Closed
wants to merge 1 commit into from
Closed

Conversation

fredj
Copy link
Member

@fredj fredj commented Jun 7, 2013

work in progress

@twpayne is that what you had in mind?

map.setFocus(null); should also be called after a mouse wheel; not only after a touch interaction. Could this be done in ol.map when the tile queue is empty?

See also #766 (comment) and #510

@twpayne
Copy link
Contributor

twpayne commented Jun 10, 2013

Yes, this is exactly what I had in mind.

I'd have to think further about setting the focus to null when the tile queue is empty. It's certainly an interesting idea, and I see how it could work.

Otherwise, the position is only updated on keyboard or mouse wheel events.
@fredj
Copy link
Member Author

fredj commented Aug 28, 2013

#510

@fredj fredj closed this Aug 28, 2013
afabiani pushed a commit to geosolutions-it/openlayers that referenced this pull request May 22, 2017
make sure we do not fail if OpenLayers.Projection.defaults has not been set (r=@ahocevar) thanks @pvgenuchten for the report
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants