-
Notifications
You must be signed in to change notification settings - Fork 68
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
Where to get already packed MBTiles? Or how to generate them? #188
Comments
It seems that you use older SDK version, you should use 4.1.0 or newer for openmaptiles styling. |
That's actually correct @jaakla . I was using the previous 4.0.0 version. As soon as I've updated it, it worked like a charm. Thanks! Are there any other styles aside from the packed ones?
It would be wonderful if I could use the ones listed by OpenMaptiles over here https://github.com/openmaptiles/openmaptiles |
With some work you could use 'MapBox Studio Classic' styles from https://github.com/openmaptiles/openmaptiles. But they will probably need manual fixing and will not run as fast and will not look as nice as our built-in styles. No continous handling of line widths, for example. |
Would you kindly tell me how should I pack one of these MapBox Studio Classic styles to be compatible with CartoDB please? I assume I should load an AssetPackage, or a ZippedAssetPackage. But haven't found the way to do that. |
@carlos-mg89 I will add a section to the Wikipage with instructions. This question has been asked several times before, so I think some guide is useful. I will send a link once the wikipage is up. |
@carlos-mg89 The preliminary info about creating custom styles is here |
@mtehver great stuff! Wouldn't it be to actually fork mapbox-studio-classic to create a carto version? |
This would be technically possible, but we don't have it as high priority for now. |
Closing this as it is duplicate of #174 |
Hello,
I've tried to load vector MBTiles from https://openmaptiles.com/ and they looked unstyled (I applied the CARTO_BASEMAP_STYLE_DEFAULT style). Am I doing something wrong here?
Perhaps those MBTiles aren't appropriate for the Carto SDK. If that's the case...it will be fine if someone points out a way to do it. I can investigate and do it by myself.
I have been doing research about this topic for a lot of months with no luck. And I really love the Carto SDK. I'd even consider using the paid plan, but it's too expensive at least at the beginning for me.
This is the main code of my Android activity:
Attached you'd find 3 screenshots of what I see from different zoom levels:
The text was updated successfully, but these errors were encountered: