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

Rework map interface #19

Open
jczaplew opened this issue May 9, 2017 · 1 comment
Open

Rework map interface #19

jczaplew opened this issue May 9, 2017 · 1 comment

Comments

@jczaplew
Copy link
Contributor

jczaplew commented May 9, 2017

Currently when the page loads all checkins and their associated data are loaded as a geojson. The advantage of this strategy is that additional requests are not needed when zooming/filtering/etc. However, it is slow and results in a very large initial page size.

Instead, the side bar and map data should be decoupled. The map should initially load all checkins as a geojson, but only their checkin_ids. The side bar should then query for the most recent checkins. When the user zooms, a separate query should fire to update the checkins displayed in the sidebar.

@davenquinn
Copy link
Member

The right way to solve this probably is to use a vector tile route for checkins, once we create one.

UW-Macrostrat/rockd#327

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

No branches or pull requests

2 participants