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

window resize keeps map geolocate control following #8736

Merged
merged 3 commits into from
Sep 10, 2019
Merged

Conversation

arindam1993
Copy link
Contributor

fixes #7053

Adds some metadata to the movestart events triggered from window resizing that lets the geolocation control ignore it.

  • briefly describe the changes in this PR
  • write tests for all new functionality
  • document any changes to public APIs
  • post benchmark scores
  • manually test the debug page
  • tagged @mapbox/studio and/or @mapbox/maps-design if this PR includes style spec changes
  • tagged @mapbox/gl-native if this PR includes shader changes or needs a native port

@arindam1993 arindam1993 self-assigned this Sep 7, 2019
src/ui/map.js Outdated Show resolved Hide resolved
@andrewharvey
Copy link
Collaborator

Thanks @arindam1993 . This looks okay to me, after addressing Asheem's comments.

Copy link
Collaborator

@andrewharvey andrewharvey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but I'll leave to @asheemmamoowala for final check.

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.

Changing interface orientation stops GeolocateControl location follow me
3 participants