fix cirle markers on GeoJSON map

This commit is contained in:
Jan-Piet Mens
2015-09-11 12:58:53 +02:00
parent 1ae1acf72f
commit e80b3a1df1

View File

@@ -48,9 +48,18 @@ function initialize() {
map.data.loadGeoJson(dataURL);
var circle ={
path: google.maps.SymbolPath.CIRCLE,
fillColor: '#ff0000',
fillOpacity: .9,
scale: 5.5,
strokeColor: 'white',
strokeWeight: 2
};
var featureStyle = {
strokeColor: 'red',
strokeWeight: 4
strokeWeight: 4,
icon: circle
};
map.data.setStyle(featureStyle);