leaflet 0.0.1-alpha.5 copy "leaflet: ^0.0.1-alpha.5" to clipboard
leaflet: ^0.0.1-alpha.5 copied to clipboard

outdatedDart 1 only

Mobile-friendly interactive maps

example/example.dart

import 'dart:html';
import 'package:leaflet/map/map.dart';
import 'package:leaflet/layer/tile/tile.dart';
import 'package:leaflet/geo/geo.dart';

void main() {
  var map = new LeafletMap(querySelector('#map'),
      stateOptions: new MapStateOptions()
          ..layers=[new TileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png')])
      ..setView(new LatLng(51.505, -0.09), 13);
}
0
likes
0
pub points
64%
popularity

Publisher

unverified uploader

Mobile-friendly interactive maps

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

intl, uri

More

Packages that depend on leaflet