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.BrowserFeature');
goog.require('ol.Map');
goog.require('ol.RendererHint');
goog.require('ol.View2D');
goog.require('ol.layer.Tile');
goog.require('ol.proj');
@@ -32,7 +31,7 @@ if (!ol.BrowserFeature.HAS_WEBGL) {
var map = new ol.Map({
layers: [layer],
renderer: ol.RendererHint.WEBGL,
renderer: 'webgl',
target: 'map',
view: new ol.View2D({
center: ol.proj.transform([-9.375, 51.483333], 'EPSG:4326', 'EPSG:3857'),