added tests to openlayers input

This commit is contained in:
matjos
2015-09-02 21:05:30 +02:00
parent f7728601ef
commit 9f0231e58e
+19 -1
View File
@@ -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
//