forked from opensciencemap/vtm
-
Notifications
You must be signed in to change notification settings - Fork 98
Closed
Description
Hi, we implement mapsforge/vtm library in our project and when using online vector maps from maptiler (OpenMapTilesMvtTileSource: https://api.maptiler.com/tiles/v3), we got rendering Issues, missing parts of dashed line and overlapping line (or road) above water




Expect:
https://api.maptiler.com/maps/basic-v2/?key=bkB2QxUTpyeGpXpySRpi#17.79/16.442555/107.591512/-26.6

https://api.maptiler.com/maps/basic-v2/?key=bkB2QxUTpyeGpXpySRpi#16.86/16.464592/107.583731/-41

https://api.maptiler.com/maps/basic-v2/?key=bkB2QxUTpyeGpXpySRpi#16.76/16.479278/107.576668/-26.6

Here is my code:
UrlTileSource tileSource = OpenMapTilesMvtTileSource.builder()
.apiKey("bkB2QxUTpyeGpXpySRpi") // Put
.httpFactory(new OkHttpEngine.OkHttpFactory())
.locale("vi")
.build();
VectorTileLayer l = mMap.setBaseMap(tileSource);
mMap.setTheme(VtmThemes.OPENMAPTILES);
mMap.layers().add(new BuildingLayer(mMap, l));
mMap.layers().add(new LabelLayer(mMap, l));
TileGridLayer mGridLayer = new TileGridLayer(mMap);
mMap.layers().add(mGridLayer);
mMap.setMapPosition(new MapPosition(16.4479445, 107.5957691, 1 << 16));
Thank you for your work!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels