Open mirmousaviii opened 7 years ago
I used image icons for marker with icon attribute, Can I rotate the marker icon?
icon
gmap-marker:
<gmap-marker v-for="m in markers" :key="m.id" :position="m.position" :icon="m.markerIcon" ></gmap-marker>
Marker Data:
markers: [ { id: "b1", position: {lat: 35.7728737, lng: 51.4158012}, markerIcon: mapMarkerBlack, rotate: 30 }, { id: "b2", position: {lat: 35.7760000, lng: 51.4160000}, markerIcon: mapMarkerSilver, rotate: 60 }, { id: "b3", position: {lat: 35.7780000, lng: 51.4190000}, markerIcon: mapMarkerViolet, rotate: 120 }
I used image icons for marker with
icon
attribute, Can I rotate the marker icon?gmap-marker:
Marker Data: