skip to Main Content

How to add attribution to mapbox with fluttermap

i am using fluttermap with MapBox tiles. This is my map: FlutterMap( options: MapOptions( center: userLocation ?? bikePosition ?? LatLng(46.94809, 7.44744), zoom: 8.0, minZoom: 4.0, maxZoom: 18.0, interactiveFlags: InteractiveFlag.all & ~InteractiveFlag.rotate, ), nonRotatedChildren: [ isSatellite ? TileLayer( urlTemplate: "https://api.mapbox.com/styles/v1/twinnerag/cllnbkuiw000c01pe82l86m0s/tiles/256/{z}/{x}/{y}@2x?access_token=pk.eyJ1IjoidHdpbm5lcmFnIiwiYSI6ImNsbG1ib3FmdDFoZWEzY3Q2ODRoamloN2UifQ.FVQHAk7oy1RCyvlDqeZW5A", )…

VIEW QUESTION
Back To Top
Search