I am trying to make an extension to add a custom marker into google map (using icon instead of pin). After reading the google instruction [1], I try to make the extension by Appy Builder but fail with about 10 errors. How to debug the errors? I have tried quite a lot of times but still fail. I put a similar code into JSFiddle and it is successful.
[1] Customizing a Google Map: Custom Markers | Maps JavaScript API