I'm styling my marker in the google Maps API
var friend_marker = new google.maps
.Marker({
map: map,
position: location,
icon: {
url: icon.png
},
zIndex: 1,
draggable: true
});
Using this overlayview:
var myoverlay = new google.maps.OverlayView();
myoverlay.draw = function() {
this.getPanes().markerLayer.id = 'markerLayer';
};
myoverlay.setMap(map);
Which works fine. However, when changing the draggable to false,
draggable: false
None of the styling is applied. Why is this so? How can I keep the styling without the marker being draggable?
icon.pnganimated? - Dr.Molle