javascript - Google maps api custom symbol -


i need custom symbol on google maps. know can use marker can't rotate (i think?) here code:

    <script>     function initialize() {         var mapprop = {             center: new google.maps.latlng(51.508742,-0.120850),             zoom: 4,             minzoom: 2,             maptypeid:google.maps.maptypeid.roadmap         };         var map=new google.maps.map(document.getelementbyid("map"),mapprop);         var mylatlng = new google.maps.latlng(-51.508742,-0.120850);          var image = 'http://www2.psd100.com/ppp/2013/11/0601/aircraft-flag-icon-1106140439.png';         var marker = new google.maps.marker({             position:mylatlng,             icon: {                 icon: image,                 scale: 10,                 rotation: 50             },              map: map         });     }     google.maps.event.adddomlistener(window, 'load', initialize); </script> 

the marker/symbol not show when this..


Comments