﻿// Config for OpenLayersInterface.js
var mapEPSG = "EPSG:900913";
var outputEPSG = "EPSG:4326";
var roadCordinateEPSG = "EPSG:25832";
var wmsEPSG = "EPSG:102113";

var WMSmultipleLayers = "http://212.87.154.186:5442/ArcGIS/rest/services/drwfs/MapServer/export";
var WMSroutes = "http://212.87.154.186:5442/ArcGIS/rest/services/WfsServices/dr_serviceRoutes/MapServer/export";

//box of defining initialview of maps. Coordinates must match outputEPSG system.
//Array(left - longitude, bottom - latitude, right - longitude, top - latitude)
//var initialBounds = new Array(8.183441, 56.720334,9.493561, 57.233733);
//var initialBounds = [11.269, 55.4913, 11.599, 55,8352 ];
var centerPoint = [10.1692, 59.7362];
var initialZoom = 5;
var zoomLevels = 10;
var minZoomLevel = 8;
var maxZoomLevel = 14;
var defaultZoomLvl = 8;

$.ajaxSetup({ cache: false });
