Flutter_map: How to show multi tile layer?

Created on 16 Jul 2020  路  6Comments  路  Source: fleaflet/flutter_map

I would like to show more than one layer.
base layer is template map like openstreetmap.org and overlay with wms layer.
But when I place two TileLayerOptions, it will display only the last layer.

Thanks

2020-07-16_13-33-07
109406873_719759218864646_2348667360521473003_n

Most helpful comment

Please try to set maxZoom property of MapOptions.

If this doesn't work, then you have create custom CRS for your map.

You can find more information about CRS from blow reference URL.

https://github.com/fleaflet/flutter_map/blob/master/example/lib/pages/custom_crs/custom_crs.dart

All 6 comments

I am facing same issue as yours.

If you find any solutions please post it here.

Thank you.

I am also facing one issue when I zoom in the map, at certain level map disappears. And when I again zoom out map appears again.

Are you facing the same issue while zooming?

please set transparent: true & backgroundColor: Colors.transparent in TileLayerOptions

This may work for you.

@Rashesh-Bosamiya Wow It's work for me! Thank you very much.

and I am also facing zooming problem, too.
If you find any solutions please help me. ^_^

Please try to set maxZoom property of MapOptions.

If this doesn't work, then you have create custom CRS for your map.

You can find more information about CRS from blow reference URL.

https://github.com/fleaflet/flutter_map/blob/master/example/lib/pages/custom_crs/custom_crs.dart

I have same issue on new version 0.10.x
But, in old version. It work! please help, thanks a lot !!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DanialV picture DanialV  路  6Comments

jacksos101 picture jacksos101  路  3Comments

abhijithvijayan picture abhijithvijayan  路  4Comments

SamuelRioTz picture SamuelRioTz  路  4Comments

rktvsiim picture rktvsiim  路  5Comments