From d73e183c895b92a94152eec16da82c45f59fe1e0 Mon Sep 17 00:00:00 2001 From: tsauerwein Date: Thu, 20 Nov 2014 11:50:46 +0100 Subject: [PATCH] Fix examples The very last style was not used. --- examples/symbol-atlas-webgl.js | 2 +- examples/symbol-stars.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/symbol-atlas-webgl.js b/examples/symbol-atlas-webgl.js index 3a4c96194e..6eafc6c463 100644 --- a/examples/symbol-atlas-webgl.js +++ b/examples/symbol-atlas-webgl.js @@ -93,7 +93,7 @@ for (i = 0; i < featureCount; ++i) { feature = new ol.Feature(geometry); feature.setStyle( new ol.style.Style({ - image: symbols[i % (symbolCount - 1)] + image: symbols[i % symbolCount] }) ); features[i] = feature; diff --git a/examples/symbol-stars.js b/examples/symbol-stars.js index 8a84b56455..4464e45176 100644 --- a/examples/symbol-stars.js +++ b/examples/symbol-stars.js @@ -66,7 +66,7 @@ for (i = 0; i < featureCount; ++i) { feature = new ol.Feature(geometry); feature.setStyle( new ol.style.Style({ - image: symbols[i % (symbolCount - 1)] + image: symbols[i % symbolCount] }) ); features[i] = feature;