File: examples/groundoverlay.html

Recommend this page to a friend!
  Classes of Jean-Baptiste DEMONTE  >  Angular Google Maps Native  >  examples/groundoverlay.html  >  Download  
File: examples/groundoverlay.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/groundoverlay.html
Date: 1 month ago
Size: 947 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="showGroundOverlay=true">
  <div class="panel">
    <div class="item">
        <input type="checkbox" ng-model="showGroundOverlay"> Show the GroundOverlay

  <gm-map options="{center: [40.740,-74.18], zoom: 12}">
    <gm-groundOverlay ng-show="showGroundOverlay" options="{url:'', bounds:{ne:{lat:40.765641, lng:-74.139235}, sw:{lat:40.716216, lng:-74.213393}}, opts: {opacity:0.8}}"></gm-groundOverlay>