12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <!DOCTYPE html>
- <html ng-app="myApp">
- <head>
- <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
- <script src="https://maps.googleapis.com/maps/api/js?v=3.exp"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.5/angular.min.js"></script>
- <script src="scripts/app.js"></script>
- <!-- build:js scripts/ng-map.min.js -->
- <script src="../app/scripts/app.js"></script>
- <script src="../app/scripts/directives/map_controller.js"></script>
- <script src="../app/scripts/directives/map.js"></script>
- <script src="../app/scripts/directives/marker.js"></script>
- <script src="../app/scripts/directives/shape.js"></script>
- <script src="../app/scripts/services/geo_coder.js"></script>
- <script src="../app/scripts/services/navigator_geolocation.js"></script>
- <script src="../app/scripts/services/attr2_options.js"></script>
- <!-- endbuild -->
- <script src="USGSOverlay.js"></script>
- <script>
- var app = angular.module('myApp', ['ngMap']);
- app.controller('OverlaySymbolArrowCtrl', function($scope) {
- });
- </script>
- </head>
- <body>
- <div ng-controller="OverlaySymbolArrowCtrl">
- <map zoom="6" center="20.291, 153.027" map-type-id="TERRAIN">
- <shape name="polyline" id="foo"
- path="[[22.291, 153.027], [18.291, 153.027]]"
- icons="[{
- icon: {
- path: 'FORWARD_CLOSED_ARROW'
- },
- offset: '100%'
- }]">
- </shape>
- </map>
- </div>
- </body>
- </html>
|