I use a pretty cool ng-map library for angular and I want to know how to access the base Marker object referenced by the ng-map marker directive
So I have this markup:
<div id="map-search" data-tap-disabled="true"> <map zoom="15" disable-default-ui="true"> <marker ng-repeat=" pos in positions" position="{{pos.latitude}}, {{pos.longitude}}" id="{{pos.index}}" on-click="pinClicked()"> </marker> </map> </div>
In this case, I did not find a direct way to access the Google Maps Marker object. From the controller:
app.controller('MapSearchController', function($scope) { $scope.$on('mapInitialized', function(event, map) { $scope.map = map;
Thanks in advance,
jlstr source share