Leaflet - Diva

From GHER

(Difference between revisions)
Jump to: navigation, search
Line 183: Line 183:
var divadata = new L.GeoJSON(datapoints, {
var divadata = new L.GeoJSON(datapoints, {
style: dataStyle,
style: dataStyle,
-
onEachFeature: onEachFeature,
 
pointToLayer: function (feature, latlng) {
pointToLayer: function (feature, latlng) {
return L.circleMarker(latlng, {radius: 10, fillOpacity: 0.85});
return L.circleMarker(latlng, {radius: 10, fillOpacity: 0.85});

Revision as of 14:31, 9 March 2017

Personal tools