Trying to change style on marker
authorJulie Hill Roa <julie.hill.roa@gmail.com>
Thu, 26 Nov 2015 14:02:31 +0000 (15:02 +0100)
committerJulie Hill Roa <julie.hill.roa@gmail.com>
Thu, 26 Nov 2015 14:02:31 +0000 (15:02 +0100)
src/components/map/map.ts

index ab9f39c..8b6103e 100644 (file)
@@ -131,11 +131,15 @@ export class Map {
                 },
                 "properties": {
                     "name": item.name,
-                    "id": item.id
-                }
+                    "id": item.id,
+
+                },
+                "style": null
             };
             if(unit.geometry.type == 'Point'){
-                unit.geometry.type.);
+               //ToDO: add en style på markeren ! 
+
+
             }
             this.map.data.addGeoJson(unit);