Simplify style setting in geojson example

This commit is contained in:
Éric Lemoine
2013-11-21 23:06:01 +01:00
parent ff66a60e5e
commit 381eef2cfb

View File

@@ -127,8 +127,6 @@ var vectorLayer = new ol.layer.Vector({
var tmpFeature = new ol.Feature(
new ol.geom.LineString([[-5e6, -5e6], [5e6, -5e6]]));
var tmpStyle = new ol.style.Style({
fill: null,
image: null,
stroke: new ol.style.Stroke({
color: 'magenta',
width: 5