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

Tile Overlays #39

Closed
Mariluk opened this issue Mar 13, 2019 · 5 comments
Closed

Tile Overlays #39

Mariluk opened this issue Mar 13, 2019 · 5 comments

Comments

@Mariluk
Copy link

Mariluk commented Mar 13, 2019

I have the url https://some_string/z/x/y.png. This url contains tiles with the map points, that I need to display on the map. Can I display those tiles over base map with this plugin?

@SamuelRioTz
Copy link

@Mariluk you can use this one https://pub.dartlang.org/packages/flutter_map wich use maptiles

@Mariluk
Copy link
Author

Mariluk commented Mar 14, 2019

@SamuelRioTz I used this plugin for now. But I have a problem when I zoom in or move on the map, the tiles are deleted and Widget is blank for 2 seconds, because tiles is loading.

This plugin works great in this respect. While waiting for tiles to be loaded, I can at least see less quality tiles instead of a blank widget.

I'm not sure if the flutter_map plugin can does the same.

@SamuelRioTz
Copy link

Your are right, also I have these problems, but my points was: this plugin works with vectorial tiles, and flutter maps works with static png tiles

@tobrun
Copy link
Collaborator

tobrun commented Mar 16, 2019

@Mariluk yes this is possible but we are lacking a fully fledged API around style (see #17). At some point you will be able to add any kind of source or layer programmatically to your map at runtime but for now you will have to configure a style.json that complies to Mapbox Style Specification. An example raster style.json used for a test can be seen here.

@tobrun
Copy link
Collaborator

tobrun commented Nov 10, 2019

Closes this in favor of #17

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

3 participants