123456789101112131415161718192021222324252627282930 |
- <!DOCTYPE html>
- <html ng-app="ngMap">
- <head>
- <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
- <script src="https://maps.google.com/maps/api/js?sensor=false"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.25/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>
- <div style="position:relavtive">
- <img style="position:absolute" src="https://maps.googleapis.com/maps/api/staticmap?center=-15.800513,-47.91378&zoom=11&size=600x400">
- <map style="width:600px; height: 400px"
- init-event="init-map"
- center="[-15.800513,-47.91378]" zoom="11"></map>
- <button ng-click="$broadcast('init-map')">Init Map</button>
- </div>
- </body>
- </html>
|