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

outdated

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
0
pub points
63%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

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

More

Packages that depend on map_controller