What are the advantages of using this package? #114
Replies: 1 comment 4 replies
-
Hi @jesussmile, I want to create a comparison site one day but I hope some checkpoints will do it for now.
The MapLibre team works togehter with sponsors on new features but itself are independent from any organization. This package So to answer your question, no you are not locked in to use Mapbox, even encoraged to use another tile provider. There is a list at: https://github.com/maplibre/awesome-maplibre?tab=readme-ov-file#maptile-providers
Yes, it's possible to host your own tiles with a tile server, too and you are free in what tile server you choose.
There are no restrictions in styling or offline usage by this package or the MapLibre SDKs. However, If you use a public tile server you need to comply with their tile usage policies. There are more restrict and there are more permissive policies out there. But If you host your own tiles, non of these apply eitherway.
In general we can expect performance that matches the official google maps package and the official mapbox package. All those packages use a native renderer written in C++. This package in particular makes use of some modern tweaks like interop with java through JNI and modern dart features. But its very hard to compare performance between them without running proper benchmarks. However, it is certain that it has much better performance than vector tiles on flutter_map and even flutter_map in general. flutter_map and vector_map_tiles is 100% written in dart. This is great to support all plaforms but suffers in performance. |
Beta Was this translation helpful? Give feedback.
-
Hi Josxha, I just started working with flutter_map and Flutter in general. I previously tried the maplibre_gl package, but it had issues displaying multiple markers and synchronizing marker movement with the map, so I had to abandon it. This package looks very promising, and I'm eager to learn more.
I would like to educate myself, like many others, about MapLibre and its benefits. First of all, is it only compatible with the Mapbox SDK and I need mapbox tokens ?, or can I use it with my own maps? Most importantly, is it free and independent of other libraries for map styling and offline usage? What kind of performance can we expect in general?
Beta Was this translation helpful? Give feedback.
All reactions