File: examples/polyline.html

Recommend this page to a friend!
  Classes of Jean-Baptiste DEMONTE  >  Angular Google Maps Native  >  examples/polyline.html  >  Download  
File: examples/polyline.html
Role: Example script
Content type: text/plain
Description: Documentation
Class: Angular Google Maps Native
Add AngularJS directives to render GoogleMaps
Author: By
Last change: Update of examples/polyline.html
Date: 1 month ago
Size: 681 bytes


Class file image Download
<!DOCTYPE html>
<html ng-app="MyApp">
<head lang="en">
  <meta charset="UTF-8">
  <link rel="stylesheet" type="text/css" href="assets/style.css">
  <script src=""></script>
  <script src="../dist/angular-google-maps-native.min.js"></script>
  <script>angular.module('MyApp', ['GoogleMapsNative']);</script>

  <gm-map options="{center: [0, -180], zoom: 2}">
    <gm-polyline options="{strokeColor: '#FF0000', strokeOpacity: 1.0, strokeWeight: 2, path:[[37.772323, -122.214897], [21.291982, -157.821856], [-18.142599, 178.431], [-27.46758, 153.027892]]}"></gm-polyline>