From bb3bd7380f9f7371d759af90510324e969ac64da Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Thu, 21 Jun 2018 10:36:49 +0200 Subject: [PATCH] Fix style documentation --- src/ol/style/Style.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ol/style/Style.js b/src/ol/style/Style.js index 05d7150d11..27534aefbd 100644 --- a/src/ol/style/Style.js +++ b/src/ol/style/Style.js @@ -7,7 +7,7 @@ * * If no style is defined, the following default style is used: * ```js - * import {Fill, Stroke, Cirle, Style} from 'ol/style'; + * import {Fill, Stroke, Circle, Style} from 'ol/style'; * * var fill = new Fill({ * color: 'rgba(255,255,255,0.4)' @@ -31,7 +31,7 @@ * * A separate editing style has the following defaults: * ```js - * import {Fill, Stroke, Cirle, Style} from 'ol/style'; + * import {Fill, Stroke, Circle, Style} from 'ol/style'; * import GeometryType from 'ol/geom/GeometryType'; * * var white = [255, 255, 255, 1]; @@ -79,8 +79,9 @@ * ]; * styles[GeometryType.MULTI_POINT] = * styles[GeometryType.POINT]; - * styles[GEOMETRY_COLLECTION] = + * styles[GeometryType.GEOMETRY_COLLECTION] = * styles[GeometryType.POLYGON].concat( + * styles[GeometryType.LINE_STRING], * styles[GeometryType.POINT] * ); * ```