1234567891011121314151617181920212223242526272829303132333435363738 |
- <!DOCTYPE html>
- <html ng-app="ngMap">
- <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 -->
- </head>
- <body>
- <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]]"
- stroke-opacity="0",
- icons="[{
- icon: {
- path: 'M 0,-1 0,1',
- strokeOpacity: 1,
- scale: 4
- },
- offset: '0',
- repeat: '20px'
- }]">
- </shape>
- </map>
- </body>
- </html>
|