Rename ol.browserfeature to ol.has

This commit is contained in:
Tim Schaub
2014-08-21 14:46:10 -06:00
parent 403e87f697
commit 947b049799
21 changed files with 66 additions and 66 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
goog.require('ol.Map');
goog.require('ol.View');
goog.require('ol.browserfeature');
goog.require('ol.has');
goog.require('ol.layer.Tile');
goog.require('ol.source.WMTS');
goog.require('ol.tilegrid.WMTS');
@@ -20,7 +20,7 @@ var urls = [
// HiDPI support:
// * Use 'bmaphidpi' layer (pixel ratio 2) for device pixel ratio > 1
// * Use 'geolandbasemap' layer (pixel ratio 1) for device pixel ratio == 1
var hiDPI = ol.browserfeature.DEVICE_PIXEL_RATIO > 1;
var hiDPI = ol.has.DEVICE_PIXEL_RATIO > 1;
var source = new ol.source.WMTS({
projection: 'EPSG:3857',