Looking for information on <ui-gmap-markers>
, specifically trying to add basic
content = "<div><h3>Title</h3>Text here..</div>"
when clicking with multiple markers. Unable to find documentation for this scenario, as current docs are only focused on single markers.
$scope.change_type = function(val) {
content = "<div><h3>Title</h3>Text here..</div>"
$scope.markers = [] //clears the map
$scope.markers = Events.venues(val.type)
}
Here is an example of marker data:
{options:{ title:"Barney's"},type:'Bar', latitude: 42.992538, longitude: -81.251819}
The following scripts are included in the index.html
<script src='lib/lodash/dist/lodash.js'></script>
<script src='lib/angular-google-maps/dist/angular-google-maps.js'></script>
<script src='lib/addons/markerwithlabel.js'></script>