flutter_map_floating_marker_titles 1.3.0 copy "flutter_map_floating_marker_titles: ^1.3.0" to clipboard
flutter_map_floating_marker_titles: ^1.3.0 copied to clipboard

Floating Map Marker Titles for flutter_map

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.

3
likes
120
points
286
downloads

Publisher

verified publishermapmarker.app

Weekly Downloads

2024.09.09 - 2025.03.24

Floating Map Marker Titles for flutter_map

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_floating_map_marker_titles_core, flutter_map, latlong2

More

Packages that depend on flutter_map_floating_marker_titles