File: examples/bicyclinglayer.html

Recommend this page to a friend!
  Classes of Jean-Baptiste DEMONTE  >  Angular Google Maps Native  >  examples/bicyclinglayer.html  >  Download  
File: examples/bicyclinglayer.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/bicyclinglayer.html
Date: 1 month ago
Size: 781 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>
    angular.module('MyApp', ['GoogleMapsNative']);
<body ng-init="showBicyclingLayer=true">
  <div class="panel">
    <div class="item">
        <input type="checkbox" ng-model="showBicyclingLayer"> Show the BicyclingLayer

  <gm-map options="{center: [42.3726399,-71.1096528], zoom: 14}">
    <gm-bicyclingLayer ng-show="showBicyclingLayer"></gm-bicyclingLayer>