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

retractedoutdated

Galli360 is a Flutter widget that allows users to view and interact with 360 street images. It provides pre-built widgets and functions for developers to easily add interactive panoramic views to thei [...]

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
0
points
72
downloads

Publisher

unverified uploader

Weekly Downloads

Galli360 is a Flutter widget that allows users to view and interact with 360 street images. It provides pre-built widgets and functions for developers to easily add interactive panoramic views to their apps. Users can pan, tilt, and zoom in on different parts of the images, as well as pin and save locations. Enhance user experience and engage users with Galli360.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

device_info_plus, flutter, flutter_svg, http, panorama

More

Packages that depend on galli360viewer