How to add marker to Google Map with Javascript API, Change the marker icon, add the marker animation and draggable property. This tutorial is based on Google Maps API V3
Example Code: https://gist.github.com/theredstapler/befd06a7a5cfde9119a591ddac10a915