Skip to content

Instantly share code, notes, and snippets.

@StasKoval
Created June 17, 2013 23:32
Show Gist options
  • Save StasKoval/5801457 to your computer and use it in GitHub Desktop.
Save StasKoval/5801457 to your computer and use it in GitHub Desktop.
<div ng-controller="ExampleController">
<div class="google-map"
center="position.coords"
zoom="zoomProperty"
markers="markersProperty"
draggable="true"
fit="false"
events="eventsProperty"
options='{"streetViewControl": false, "mapTypeControl":false, "zoomControl":false}'
style="height: 400px; width: 100%">
</div>
{{position.coords}}<br>
{{at}}<br>
{{zoom}}<br>
<br>
<ul ng-repeat="m in test" >
<li>
{{m}}
</li>
</ul>
<ul ng-repeat="marker in adverts" >
<li>
{{marker.id}}
</li>
</ul>
<ul ng-repeat="marker in markersProperty" >
<li>
{{marker}}
</li>
</ul>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment