web_mercator 0.9.0 web_mercator: ^0.9.0 copied to clipboard
Dart implementation of the uber @math.gl/web-mercator javascript module.
web_mercator #
Dart implementation of the uber @math.gl/web-mercator javascript module.
Getting Started #
See the tests
for in-depth implementation methods.
Here is a basic example using the fitBounds
factory with end user device informations:
import 'package:web_mercator/viewport.dart';
final viewport = Viewport.fitBounds(width: deviceWidth, height: deviceHeight, bounds: northEastSoutWest);
With that viewport, you can use the project