38 lines
1.4 KiB
HTML
Executable File
38 lines
1.4 KiB
HTML
Executable File
<!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.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>
|
|
As defined at, https://developers.google.com/maps/documentation/javascript/reference#MapOptions, you can add any attributes except control-related to map attributes.
|
|
|
|
<map zoom="11"
|
|
center="[40.74, -74.18]"
|
|
disable-default-u-i="true"
|
|
disable-double-click-zoom="true"
|
|
draggable="false"
|
|
draggable-cursor="help"
|
|
dragging-cursor="move"
|
|
keyboard-shortcuts="false"
|
|
max-zoom="12"
|
|
min-zoom="8"
|
|
tilt="45"
|
|
map-type-id="TERRAIN">
|
|
</map>
|
|
</body>
|
|
</html>
|