flutter_map_arcgis 0.0.1 copy "flutter_map_arcgis: ^0.0.1" to clipboard
flutter_map_arcgis: ^0.0.1 copied to clipboard

outdated

Arcgis plugin for flutter map

Flutter Map plugin for ArcGIS Esri #

Currently support feature layer and feature cluster #

We are working on more features

A Dart implementation of Esri Leaflet for Flutter apps. This is a plugin for flutter_map package

Feature layer's cluster Inspired by flutter_map_marker_cluster package

Usage #

Add flutter_map, dio and flutter_map_arcgis to your pubspec:

dependencies:
  flutter_map: any
  flutter_map_arcgis: any # or the latest version on Pub
  dio: any # or the latest version on Pub

Add it in you FlutterMap and configure it using FeatureLayerOptions.

  Widget build(BuildContext context) {
    return FlutterMap(
      options: new MapOptions(
        center: LatLng(47.9187, 106.917782),
        zoom: 13.0,
        plugins: [
          EsriPlugin(),
        ],
      ),
      layers: [
        TileLayerOptions(
          urlTemplate: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
          subdomains: ['a', 'b', 'c'],
        ),
        FeatureLayerOptions(
          url:"https://dms.ulaanbaatar.mn/arcgis/rest/services/Manaikhoroo/Hot_standart1/FeatureServer/0",
          marker: Marker(
             width: 30.0,
             height: 30.0,
             builder: (ctx) => Icon(Icons.pin_drop),
          ),
          onTap: (attributes) {
             print(attributes);
          },
      ],
    );
  }

Run the example #

See the example/ folder for a working example app.

33
likes
0
pub points
86%
popularity

Publisher

unverified uploader

Arcgis plugin for flutter map

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

dio, flutter, flutter_map

More

Packages that depend on flutter_map_arcgis