simple_map

Creator: coderz1093

Last updated:

0 purchases

simple_map Image
simple_map Images

Languages

Categories

Add to Cart

Description:

simple map

Flutter Simple Map #
A Flutter plugin which displays a simple flat world map with animated points can be used in real time.
Can be used as a presentation of online users, devices, etc.





Getting Started #

Add this to your pubspec.yaml
dependencies:
simple_map: ^1.0.0
copied to clipboard

Get the package from Pub:
flutter packages get
copied to clipboard

Import it in your file
import 'package:simple_map/simple_map.dart';
copied to clipboard


Features #

Good performance with lot of data
Render simple customizable flat map
Render points with animation effect
Customize every point
Create points with TTL
Custom point animations
Marker support
Zoom and Move animations

Usage #

Using SimpleMapOptions

final mapOptions = SimpleMapOptions(
// Custom map icon with projection
// mapIcon: IconData(0xe900, fontFamily: 'MapIcons'),
// projection: ...

mapColor: Colors.grey,
bgColor: Colors.black,
// Default point color
pointColor: Colors.blue,

interactive: true,

// 3d effect
withShadow: true,
shadowOffset = const Offset(0.0, 0.5),
);
copied to clipboard

Using SimpleMapController

final SimpleMapController mapController = SimpleMapController();

// Add single point.
mapController.addPoint(SimpleMapPoint());

// Add list of points
mapController.points = [SimpleMapPoint()];

// Clear the map.
mapController.clear();

SimpleMap(
controller: mapController,
options: mapOptions,
),
copied to clipboard

Simple map with one center point with duration of 100 seconds

SimpleMap(
controller: SimpleMapController(points: [
SimpleMapPoint(
lat: 0.0,
lng: 0.0,
color: Colors.blue,
ttl: Duration(seconds: 100),
)
]),
options: mapOptions,
),
copied to clipboard
Check out the complete Example
Changelog #
Please have a look in CHANGELOG
Maintainers #

Vlad Korniienko

License #

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.