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

Tweaks to SymbolLayer iconOffset spacing in InfoWindowSymbolLayerActivity #1016

Merged
merged 1 commit into from Apr 15, 2019

Conversation

langsmith
Copy link
Contributor

This pr makes some tweaks to iconOffset spacing for the red markers in the InfoWindowSymbolLayerActivity example. Without the iconOffset, their bottoms would end up in the ocean and other inaccurate areas as the map was zoomed in/out on.

Not applying this offset to account for the icon height, is a very common problem that I see on apps/sites that use Mapbox.

@langsmith langsmith merged commit 08be550 into master Apr 15, 2019
@langsmith langsmith deleted the ls-symbolLayer-icon-window-offset-tweak branch April 15, 2019 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants