mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
added tests to openlayers input
This commit is contained in:
@@ -34,6 +34,7 @@ var geometry: ol.geom.Geometry;
|
||||
var loadingstrategy: ol.LoadingStrategy;
|
||||
var tilegrid: ol.tilegrid.TileGrid;
|
||||
var vector: ol.source.Vector;
|
||||
var projection: ol.proj.Projection;
|
||||
|
||||
//
|
||||
// ol.Attribution
|
||||
@@ -161,7 +162,9 @@ var tileLayer: ol.layer.Tile = new ol.layer.Tile({
|
||||
//
|
||||
// ol.proj
|
||||
//
|
||||
var projection: ol.proj.Projection;
|
||||
projection = new ol.proj.Projection({
|
||||
code:stringValue,
|
||||
});
|
||||
|
||||
//
|
||||
// ol.Map
|
||||
@@ -174,6 +177,21 @@ var map: ol.Map = new ol.Map({
|
||||
});
|
||||
map.beforeRender(preRenderFunction);
|
||||
|
||||
//
|
||||
// ol.source.ImageWMS
|
||||
//
|
||||
var imageWMS: ol.source.ImageWMS = new ol.source.ImageWMS({
|
||||
serverType: stringValue,
|
||||
url:stringValue
|
||||
});
|
||||
//
|
||||
// ol.source.TileWMS
|
||||
//
|
||||
var tileWMS: ol.source.TileWMS = new ol.source.TileWMS({
|
||||
serverType: stringValue,
|
||||
url:stringValue
|
||||
});
|
||||
|
||||
//
|
||||
// ol.animation
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user