Skip to content

Commit

Permalink
color connection polygons
Browse files Browse the repository at this point in the history
  • Loading branch information
paregorios committed Feb 28, 2015
1 parent f178ead commit 0b55f90
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions skins/PleiadesEntity/place_map.js
Expand Up @@ -248,6 +248,16 @@ if (connections) {
pointToLayer: function (feature, latlng) {
return L.marker(latlng, {icon: connectionIcon, zIndexOffset: 10 });
},
style: function(f) {
return {
color: '#55cb4f',
opacity: 1,
weight: 2,
fill: true,
fillColor: '#55cb4f',
fillOpacity: 0.2,
}
},
onEachFeature: function (f, layer) {
layer.bindPopup(
'<dt><a href="'
Expand Down

0 comments on commit 0b55f90

Please sign in to comment.