angular-google-maps updating marker model
问题 Im using the angular-google-maps library but I cannot seem to get the map to update when I dynamically add new markers to my model. Hardcoded markers in the model are correctly displayed. HTML <ui-gmap-markers models="map.placeMarkers" coords="'self'" icon="'icon'" options="'options'" click="'onClicked'" modelsbyref="true"></ui-gmap-markers> JS $scope.map.placeMarkers = [ { id: 1, latitude: 45, longitude: -74, options: {}, title: 'Test 123' }, { id: 2, latitude: 15, longitude: 30, options: {}