galli360viewer 0.0.12 copy "galli360viewer: ^0.0.12" to clipboard
galli360viewer: ^0.0.12 copied to clipboard

Galli360 is a Flutter package that lets users view and interact with 360 street images from GalliMaps. Users can pan, tilt, and zoom in on images and pin and share locations.

Galli360 Viewer #

pub package

Galli Maps' flutter library to show 360 images of streets of Nepal

  1. wide, imersive view
  2. pan, tilt and zoom in different parts of images
  3. single tap to pin a building/location
  4. save the pinned location and share it with others

Setup #

Add galli360viewer as a dependency in your pubspec.yaml file

dependencies:
    galli360viewer: ${last_version}

How to use #

Import and add the Galli360Viewer widget to your project

import 'package:galli360viewer/galli360viewer.dart';
... ...

final Galli360 controller = Galli360(token);

@override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Viewer(
        coordinate: LatLng(37.421997, -122.084057),
        pinX: 0.5,
        pinY: 0.5,
        height: 400,
        width: 400,
        loadingWidget: Container(
          child: Center(
            child: const CircularProgressIndicator(),
          ),
        ),
        closeWidget: Container(
          child: Center(
            child: Text('Close'),
          ),
        ),
        showClose: true,
        animation: true,
        maxZoom: 2,
        minZoom: 0.5,
        animSpeed: 5,
        sensitivity: 5,
        pinIcon: Icons.location_on,
        onSaved: (double x, double y) {
          print(x);
          print(y);
        },
        controller: controller,
      ),
    );
  }

Preview #

Preview

3
likes
140
points
70
downloads

Publisher

unverified uploader

Weekly Downloads

Galli360 is a Flutter package that lets users view and interact with 360 street images from GalliMaps. Users can pan, tilt, and zoom in on images and pin and share locations.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

device_info_plus, flutter, flutter_svg, http, panorama

More

Packages that depend on galli360viewer