hi, i want to use flespi in flutter. and im using flutter_map library.
when i add this "https://flespi.io/mapview/index.html" to urlTemplate in TileLayerOptions, i recive an error says "invalid image data" and map is not showing. you know the problem?
The MapView project is not a tile provider. It's just a web app that lets you add a map to any other web app as an iframe.
dexif would you say exactly how to use flespi in flutter?
alirezaya flespi is an API service. You can use REST / MQTT api to get data from flespi. If you want to draw the map, you can use flutter_map or any other map library to draw the resulting data to the map.
Also you can use mapview (as a simple maps library ) to draw the map. Usage examples are here: https://flespi.com/blog/mapview-draw-maps-faster-embed-easier