Skip to content

Missing parts of dashed line, line and road #951

@PhungVanHoa

Description

@PhungVanHoa

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
image
image
image
image

Expect:
https://api.maptiler.com/maps/basic-v2/?key=bkB2QxUTpyeGpXpySRpi#17.79/16.442555/107.591512/-26.6
Screen Shot 2022-08-16 at 20 40 19
https://api.maptiler.com/maps/basic-v2/?key=bkB2QxUTpyeGpXpySRpi#16.86/16.464592/107.583731/-41
image
https://api.maptiler.com/maps/basic-v2/?key=bkB2QxUTpyeGpXpySRpi#16.76/16.479278/107.576668/-26.6
image

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions