From be55dfbc791c05ca6000407180eeda179a916f89 Mon Sep 17 00:00:00 2001 From: Prateek Saxena Date: Wed, 19 Feb 2014 20:22:51 +0530 Subject: [PATCH] Make markers large enough to click --- js/app.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/js/app.js b/js/app.js index 9b17804..0890def 100644 --- a/js/app.js +++ b/js/app.js @@ -18,7 +18,15 @@ var busstopsSearch = []; var busstopsLayer = L.geoJson(busstops, { pointToLayer: function(feature, latlng) { - return L.circleMarker(latlng, geojsonMarkerOptions); + return L.circleMarker(latlng, { + radius: 5, + fillColor: "#fff", + color: "#267fca", + weight: 3, + opacity: 1, + strokeWidth: 3, + fillOpacity: 0.8 + }); }, onEachFeature: function (feature, layer) { if (feature.properties && feature.properties.name) {