Update wmts-hidpi, add nicer-api-docs
This commit is contained in:
16
nicer-api-docs/examples/drag-rotate-and-zoom.js
Normal file
16
nicer-api-docs/examples/drag-rotate-and-zoom.js
Normal file
@@ -0,0 +1,16 @@
|
||||
var map = new ol.Map({
|
||||
interactions: ol.interaction.defaults().extend([
|
||||
new ol.interaction.DragRotateAndZoom()
|
||||
]),
|
||||
layers: [
|
||||
new ol.layer.Tile({
|
||||
source: new ol.source.MapQuest({layer: 'sat'})
|
||||
})
|
||||
],
|
||||
renderer: exampleNS.getRendererFromQueryString(),
|
||||
target: 'map',
|
||||
view: new ol.View2D({
|
||||
center: [0, 0],
|
||||
zoom: 2
|
||||
})
|
||||
});
|
||||
Reference in New Issue
Block a user