map_controller_plus 0.13.1 copy "map_controller_plus: ^0.13.1" to clipboard
map_controller_plus: ^0.13.1 copied to clipboard

A map controller for Flutter map. Manage markers, lines and polygons.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'index.dart';
import 'markers.dart';
import 'stateful_markers.dart';
import 'tile_layer.dart';

final Map<String, Widget Function(BuildContext)> routes = {
  '/': (BuildContext context) => const IndexPage(),
  '/markers': (BuildContext context) => const MarkersPage(),
  '/tile_layer': (BuildContext context) => const TileLayerPage(),
  '/stateful_markers': (BuildContext context) => const StatefulMarkersPage(),
};

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Map controller demo',
      routes: routes,
    );
  }
}
11
likes
120
pub points
58%
popularity

Publisher

verified publisherrouxguillau.me

A map controller for Flutter map. Manage markers, lines and polygons.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_map, geojson, geopoint, latlong2, rxdart

More

Packages that depend on map_controller_plus