From 2f96304eed8332ae20ffe87ae416493ac4e51088 Mon Sep 17 00:00:00 2001 From: George Kaklamanos Date: Sun, 21 Feb 2016 21:24:27 +0200 Subject: [PATCH] Support new dot group: blue. --- modules/map.php | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/modules/map.php b/modules/map.php index 46281fa..b1424ff 100644 --- a/modules/map.php +++ b/modules/map.php @@ -9,7 +9,7 @@ 0 || count($coordsGreen)>0){ ?>
@@ -65,6 +65,30 @@ echo '['. $coordsGreen[$i][1] . ',' . $coordsGreen[$i][0] . ']];'; features.push(feat); } 0){ +echo "var coordinatesBlue = ["; +for ($i=0; $i + var styleBlue = new ol.style.Style({ + image: new ol.style.Circle({ + fill: new ol.style.Fill({color: '#0000FF'}), + stroke: new ol.style.Stroke({color: '#000000'}), + radius: 5 + }) + }); + for(var i=0; i var vectorSource = new ol.source.Vector({features:features});