dart_jts 0.3.0+1 dart_jts: ^0.3.0+1 copied to clipboard
An ongoing effort to port the Java Topology Suite to the dart programming language and make it available to its mobile, dektop and web environments.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dart_jts
With Flutter:
$ flutter pub add dart_jts
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
dart_jts: ^0.3.0+1
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dart_jts/dart_jts.dart';