Don't use goog.* functions in examples

This commit is contained in:
Tom Payne
2012-10-15 19:11:02 +02:00
parent 0392d898c3
commit 98340c55ce

View File

@@ -39,7 +39,7 @@ var webglMap = new ol.Map({
renderer: ol.RendererHint.WEBGL,
target: 'webglMap'
});
if (!goog.isNull(webglMap)) {
if (webglMap !== null) {
webglMap.bindTo('center', domMap);
webglMap.bindTo('layers', domMap);
webglMap.bindTo('resolution', domMap);