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

Changed geoJSONSource data not reflected until zoom/pan #676

Closed
iamdanfox opened this issue Aug 8, 2014 · 1 comment
Closed

Changed geoJSONSource data not reflected until zoom/pan #676

iamdanfox opened this issue Aug 8, 2014 · 1 comment
Assignees
Labels
Milestone

Comments

@iamdanfox
Copy link

I've added a geoJSONSource to my map. When .setData( ... ) is called, the map is does not re-render to reflect these changes until you zoom or pan.

(This is my first day playing with Mapbox GL and it looks awesome btw!)

@mourner mourner added the bug label Aug 8, 2014
@mourner mourner added this to the post-v0.2.0 milestone Aug 8, 2014
@mourner
Copy link
Member

mourner commented Aug 8, 2014

Thanks, will fix. Meanwhile you can try calling map.update() after setting the data.

@mourner mourner self-assigned this Aug 8, 2014
lucaswoj pushed a commit that referenced this issue Dec 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants