Use string instead of ol.RendererHint enum in examples

This commit is contained in:
Tom Payne
2014-02-06 19:09:39 +01:00
parent 41f193e8b9
commit a58aa0a40d
36 changed files with 38 additions and 74 deletions

View File

@@ -1,6 +1,5 @@
goog.require('ol.Attribution');
goog.require('ol.Map');
goog.require('ol.RendererHint');
goog.require('ol.View2D');
goog.require('ol.geom.LineString');
goog.require('ol.geom.Point');
@@ -67,7 +66,7 @@ var map = new ol.Map({
styleFunction: styleFunction
})
],
renderer: ol.RendererHint.CANVAS,
renderer: 'canvas',
target: 'map',
view: new ol.View2D({
center: [703365.7089403362, 5714629.865071137],