Add wmts-hidpi branch

This commit is contained in:
ahocevar
2014-03-27 20:46:44 +01:00
parent bd9092199b
commit b3ac1afd00
1715 changed files with 784229 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
var map = new ol.Map({
layers: [
new ol.layer.Tile({
source: new ol.source.OSM()
}),
new ol.layer.Tile({
source: new ol.source.TileDebug({
projection: 'EPSG:3857',
tileGrid: new ol.tilegrid.XYZ({
maxZoom: 22
})
})
})
],
renderer: exampleNS.getRendererFromQueryString(),
target: 'map',
view: new ol.View2D({
center: ol.proj.transform(
[-0.1275, 51.507222], 'EPSG:4326', 'EPSG:3857'),
zoom: 10
})
});