galli_vector_plugin 0.2.1 copy "galli_vector_plugin: ^0.2.1" to clipboard
galli_vector_plugin: ^0.2.1 copied to clipboard

A Galli vector map widget that displays a map with custom markers, lines, circles and polygons.

galli_vector_plugin #

galli_vector_plugin is a Flutter plugin for integrating vector maps from Gallimaps into your Flutter applications. This plugin provides an easy way to display and interact with high-quality vector maps.

Features #

  • High-performance vector maps
  • Map markers, routes, fills and circles
  • User interaction handling (e.g., tap, zoom, tilt, pan)
  • Automatic map caching for offline

Installation #

Add galli_vector_plugin to your pubspec.yaml file:

dependencies:
  galli_vector_plugin: latest

Then, run flutter pub get to install the new dependency.

Usage #

Import the plugin in your Dart code:

import 'package:galli_vector_plugin/galli_vector_plugin.dart';

Basic Example #

Here is a simple example of how to use the galli_vector_plugin:

GalliMap(
            showCurrentLocation: true,
            authToken: "authToken",
            size: (
              height: MediaQuery.of(context).size.height * 2,
              width: MediaQuery.of(context).size.width * 2,
            ),
            compassPosition: (
              position: CompassViewPosition.topRight,
              offset: const Point(32, 82)
            ),
            showCompass: true,
            onMapCreated: (newC) {
              controller = newC;
              setState(() {});
            },
            onMapClick: (LatLng latLng) {

            },
          ),

Documentation #

For detailed documentation and advanced usage, please visit the official documentation.

3
likes
130
pub points
58%
popularity

Publisher

unverified uploader

A Galli vector map widget that displays a map with custom markers, lines, circles and polygons.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_cube, geolocator, http, meta, plugin_platform_interface

More

Packages that depend on galli_vector_plugin