galli360viewer

Last updated:

0 purchases

galli360viewer Image
galli360viewer Images
Add to Cart

Description:

galli360viewer

Galli360 Viewer #

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

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

Setup #
Add galli360viewer as a dependency in your pubspec.yaml file
dependencies:
galli360viewer: ${last_version}
copied to clipboard
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,
),
);
}
copied to clipboard
Preview #

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.