-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
troubleshootingThis issue is not reporting an issue, but just asking for helpThis issue is not reporting an issue, but just asking for help
Description
Hello,
how call setOptions or setVisible for a marker ? (after init, display)
for exemple marker.title is callable but not marker.options or marker.setOptions:
(property) MapMarker.options: google.maps.MarkerOptions
This expression is not callable.
Type 'MarkerOptions' has no call signatures
Sample code:
<map-marker #markerElem
[position]="gMap.marker.position"
[options]="gMap.marker.options"
(mapDragend)="mapMarkerDragEnd( markerElem)">
mapMarkerDragEnd(marker: MapMarker) {
marker.title = "changed title"; // works
marker.setOptions({visible:false}); // doesn't works
// marker.options.visible = false ? // doesn't works
//marker.visible = false ? // doesn't works
}
Metadata
Metadata
Assignees
Labels
troubleshootingThis issue is not reporting an issue, but just asking for helpThis issue is not reporting an issue, but just asking for help