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

Improved Map Performance for OSM basemaps #1784

Merged
merged 10 commits into from
Jan 17, 2018
Merged

Conversation

Archaejohn
Copy link
Contributor

This increases the displayed size of the tiles on the screen and therefore reduces the numbers of tiles being requested at any given time to speed up the entire map display as well as increase the size of objects on the screen while maintaining the appropriate zoom level for the tile provider.

What has been done to verify that this works as intended?

Tested in Android Emulator with all available OSM basemaps.

Why is this the best possible solution? Were any other approaches considered?

This is a built in approach from the MapView for OSMDroid

Are there any risks to merging this code? If so, what are they?

Doubtful

Do we need any specific form for testing your changes? If so, please attach one.

I changed the USGS National Map Sat to USGS National Map Hybrid to reduce confusion and be inline with other services offering an imagery basemaps with roads.
Fixed IllegalArgumentException: Unterminated quote (getodk#1775)
Scale DPI allows for tiles to appear larger on the screen
Scale DPI allows for tiles to appear larger on the screen
Scale DPI allows for tiles to appear larger on the screen
@lognaturel
Copy link
Member

👍 This is in code that @jknightco is reworking as part of https://forum.opendatakit.org/t/collect-geotrace-and-geoshape-improvements/10160 and #507 My guess is that it's small enough it's ok to merge now but I'll wait to get his feedback.

@Archaejohn
Copy link
Contributor Author

Great! I was trying to figure out why the tiles looked so small, sorry I didn't look at the open issues before I submitted the pull request.

Copy link
Contributor

@heyjamesknight heyjamesknight 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. Will make sure this makes it into the refactor as well.

@lognaturel lognaturel merged commit 30e9b20 into getodk:master Jan 17, 2018
@lognaturel
Copy link
Member

Thank you @Archaejohn, @jknightco!

shobhitagarwal1612 pushed a commit to shobhitagarwal1612/collect that referenced this pull request May 15, 2018
This increases the displayed size of the tiles on the screen and therefore reduces the numbers of tiles being requested at any given time to speed up the entire map display as well as increase the size of objects on the screen while maintaining the appropriate zoom level for the tile provider.
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.

4 participants