Multiple useful functions for a google map in html using javascript.
Please replace the key in the script tag with your own google api key.
You can get your own key by following this link
Check code here
Check code here
Check code here
Check code here