Skip to content

window resize keeps map geolocate control following - #8736

Merged
arindam1993 merged 3 commits into
masterfrom
fix-7053
Sep 10, 2019
Merged

window resize keeps map geolocate control following#8736
arindam1993 merged 3 commits into
masterfrom
fix-7053

Conversation

@arindam1993

Copy link
Copy Markdown
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
Comment thread debug/7053_geolocation_follow.html Outdated
Comment thread src/ui/map.js Outdated
@andrewharvey

Copy link
Copy Markdown
Collaborator

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

@andrewharvey andrewharvey left a comment

Copy link
Copy Markdown
Collaborator

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