flutter_map_floating_marker_titles

Creator: coderz1093

Last updated:

Add to Cart

Description:

flutter map floating marker titles

Flutter Map Floating Map Marker Titles #
Floating Map Marker Titles for flutter_map, using the core library of the Flutter Floating Map Marker Titles project.
Code example #
// With the FlutterMapWithFMTO widget as a FlutterMap wrapper
FlutterMapWithFMTO(
floatingTitles: floatingTitles,
fmtoOptions: fmtoOptions,
// ... other than the 2 above option, this widget takes
// exactly the same props as the FlutterMap widget.
options: MapOptions(
center: LatLng(0, 0),
zoom: 13,
),
children: [
TileLayer(
urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
),
],
)

// Or with the FloatingMarkerTitlesLayer widget as a FlutterMap layer
FlutterMap(
options: MapOptions(
center: LatLng(0, 0),
zoom: 13,
),
children: [
TileLayer(
urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
),
FloatingMarkerTitlesLayer(
floatingTitles: floatingTitles,
fmtoOptions: fmtoOptions,
),
],
)
copied to clipboard
See the how-to section of the main project for more details.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.