ngmap
Version:
The Simplest AngularJS Google Maps V3 Directive
21 lines (19 loc) • 541 B
HTML
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<script src="script-tags-for-development.js"></script>
<style>
map, #streetview {display:inline-block ;width:45%;height: 400px}
</style>
</head>
<body ng-app="ngMap">
<ng-map zoom="18" center="[40.688738,-74.043871]"
default-style="false"
map-type-id="MapTypeId.SATELLITE" tilt="45">
<street-view-panorama container="streetview">
</street-view-panorama>
</ng-map>
<div id="streetview"></div>
</body>
</html>