I am trying to add a custom icon for the marker after parsing a kml file with geoXML3, but I cannot figure out how. I cannot add specifications in the kml files, so I am trying to do it with Javascript. I didn't manage to find any useful documentation about it. This is my kml loading:
myparser.parse('http://mywebsite.com/myparser/last_feed/now.kml');
var myparser= new geoXML3.parser({map: map,zoom:7,icon: image});
To change all the marker icons using geoxml3, set the
markerOptions.iconproperty as described in the documentation (the markerOptions object is used to populate the MarkerOptions for all markers created with geoxml3).proof of concept fiddle
code snippet: