Custom markers for points from a geoJson file with Google Maps Custom markers for points from a geoJson file with Google Maps json json

Custom markers for points from a geoJson file with Google Maps


Use a styling-function(styling-functions enable you to apply styles based on a specific feature)

  map.data.setStyle(function(feature) {    return {icon:feature.getProperty('icon')};  });