marker_with_label 0.0.6 copy "marker_with_label: ^0.0.6" to clipboard
marker_with_label: ^0.0.6 copied to clipboard

outdatedDart 1 only

With that package you will be able to use Marker With Label API for Google Maps JavaScript API from Dart scripts.

example/marker_with_label_example.dart

import 'dart:html';

import 'package:google_maps/google_maps.dart';
import 'package:marker_with_label/marker_with_label.dart';

void main() {
  var latLng = new LatLng(-34.397, 150.644);

  final mapOptions = new MapOptions()
    ..zoom = 8
    ..center = latLng;

  var gMap = new GMap(document.getElementById("map-canvas"), mapOptions);

  var markerWithLabelOptions = new MarkerWithLabelOptions()
    ..labelContent = "Hello Label"
    ..map = gMap
    ..position = latLng;

  new MarkerWithLabel(markerWithLabelOptions);
}
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

With that package you will be able to use Marker With Label API for Google Maps JavaScript API from Dart scripts.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

google_maps, js_wrapping

More

Packages that depend on marker_with_label