map_controller 0.9.0 copy "map_controller: ^0.9.0" to clipboard
map_controller: ^0.9.0 copied to clipboard

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

example/lib/main.dart

import 'package:flutter/material.dart';

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

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

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Map controller demo',
      routes: routes,
    );
  }
}
26
likes
40
pub points
58%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

extra_pedantic, flutter, flutter_map, geojson, geopoint, latlong, pedantic, rxdart

More

Packages that depend on map_controller