Add missing semicolon
This commit is contained in:
+1
-1
@@ -155,7 +155,7 @@ map.on('click', function(evt) {
|
||||
var stroke = new ol.style.Stroke({
|
||||
color: 'rgba(255,0,0,0.9)',
|
||||
width: 1
|
||||
})
|
||||
});
|
||||
var style = new ol.style.Style({
|
||||
stroke: stroke,
|
||||
image: new ol.style.Circle({
|
||||
|
||||
@@ -21,7 +21,7 @@ var style = new ol.style.Style({
|
||||
fill: fill,
|
||||
stroke: stroke
|
||||
})
|
||||
})
|
||||
});
|
||||
vectorContext.setStyle(style);
|
||||
|
||||
vectorContext.drawGeometry(new ol.geom.LineString([[10, 10], [90, 90]]));
|
||||
|
||||
Reference in New Issue
Block a user