console.log('no normal webpage');/** * Created by sofos on 15/09/16. */ function GetXmlHttpObject() { if (window.XMLHttpRequest) { return new XMLHttpRequest();// code for IE7+, Firefox, Chrome, Opera, Safari } if (window.ActiveXObject) { return new ActiveXObject("Microsoft.XMLHTTP");// code for IE6, IE5 } return null; } var browser = (function(){ var self = {}; self.ie = (navigator.appName == 'Microsoft Internet Explorer') ; self.chrome = /chrome/i.test( navigator.userAgent ); self.ff = /Firefox/i.test(navigator.userAgent); self.getSize = function(){ } self.size = function(){ return [(self.ie)?document.body.clientWidth:window.innerWidth,(self.ie)?document.body.clientHeight:window.innerHeight]; } self.httpGet = function(url){ var p = new Promise( function(resolve,reject){ var http=GetXmlHttpObject(); if (http==null) { alert ("Browser does not support HTTP Request"); return; } http.onreadystatechange=function () { if (this.readyState==4) { var data = this.responseText; resolve(data); } }; http.open("GET",url,true); http.send(null); } ); return p; } return self; })(); if(typeof $ === "undefined" && !(typeof jQuery === "undefined")){ $=jQuery; console.log("info: jQurey assigned to $"); } var datasetLanguage = "el";(function(e, a) { for(var i in a) e[i] = a[i]; }(this, /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // identity function for calling harmony imports with the correct context /******/ __webpack_require__.i = function(value) { return value; }; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { /******/ configurable: false, /******/ enumerable: true, /******/ get: getter /******/ }); /******/ } /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 4); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var loader_1 = __webpack_require__(5); exports.gsMapInitStartFunctionList = []; exports.gsMapInitEndFunctionList = []; exports.gsMapClickNotFoundFunctionList = []; exports.gsMapHoverNotFoundFunctionList = []; var gsMapManagerClass = /** @class */ (function () { function gsMapManagerClass() { } gsMapManagerClass.prototype.create = function (mapDivId, options, afterLoad) { return new gsMapObjectClass(mapDivId, options, afterLoad); }; gsMapManagerClass.prototype.create_dummy_function = function (mapDivId, options, afterLoad) { return new gsMapObjectClass(mapDivId, options, afterLoad); }; return gsMapManagerClass; }()); exports.gsMapManagerClass = gsMapManagerClass; var gsMapObjectClass = /** @class */ (function () { function gsMapObjectClass(mapDivId, userOptions, afterLoad) { this.mapDivId = mapDivId; this.userOptions = userOptions; this.afterLoad = afterLoad; this.dom = null; this.activeBaseLayer = null; this.map = null; this.state = { zoom: 0 }; this.hllayer = null; this.hlsource = null; this.onZoomLeveChangedCustomFunctions = []; this.gsLayers = {}; this.tooltip = {}; this.mapCustomEventsHandler = new loader_1.MapCustomEvents(); this.registerMapHoverNotFoundFunction = function (fn) { exports.gsMapHoverNotFoundFunctionList.push(fn); }; this.flytoextentR = function (params, self) { if (!self) { self = this; } ; var extent = [ Math.min(params.extent[0], params.extent[2]), Math.min(params.extent[1], params.extent[3]), Math.max(params.extent[0], params.extent[2]), Math.max(params.extent[1], params.extent[3]) ]; var ms = params.ms || 1000; var scalefactor = params.scalefactor || 1.0; var resolve = params.resolve || function () { }; extent = self.scaleExtent(extent, scalefactor); var view = self.map.getView(); var start = +new Date(); console.log("dm-001: disabled animate"); // var pan = ol.animation.pan({ // duration: ms, // source: /** @type {ol.Coordinate} */ (view.getCenter()), // start: start // }); // var zoom = ol.animation.zoom({ // duration: ms, // resolution: 1.0 * view.getResolution(), // start: start // }); // self.map.beforeRender(pan, zoom); // console.log("dm-001: disabled animate"); // console.log(extent); // console.log(self.map.getView()); try { self.map.getView().fit(extent, { duration: 1000 }); //, self.map.getSize()); } catch (err) { console.log(err); } setTimeout(function () { resolve(self); }, ms); return self; }; this.flytoR = function (params, self) { var z = params.z || self.state.zoom; var x = params.x; var y = params.y; var ms = params.ms || 1000; var resolve = params.resolve || function () { }; console.log("dm-001: disabled animate"); // var pan = ol.animation.pan({ // source: self.map.getView().getCenter(), // duration: ms // }); // var zoom = ol.animation.zoom({ // duration: ms, // resolution: self.map.getView().getResolution() // }); // self.map.beforeRender(pan, zoom); // self.map.setView(new ol.View({ // center: self.ll2xy([x, y]), // zoom: z // }));//.setCenter(ll2xy([x,y])); self.map.getView().animate({ zoom: z, center: self.ll2xy([x, y]) }); self.state.zoom = z; setTimeout(function () { resolve(self); }, ms); return self; }; this.highlightPointR = function (params, self) { self.hlsource.clear(); var x = params.x; var y = params.y; var ms = params.ms || 1000; // var color = params.c || 1000; var resolve = params.resolve || function () { }; var f = self.feature_from_coor(x, y); var s = self.pointStyle('#ff0000', [0, 0, 0, 0.5], 0, 18, ''); f.setStyle(s); self.hlsource.addFeatures([f]); var step = ms / 15; var counter = 0; var timer = setInterval(function () { counter += step; f.setStyle(self.pointStyle('#ff0000', [0, 0, 0, 0.5], 0, 18 - (counter / ms) * 18 + 6, '')); if (counter > ms) { clearInterval(timer); resolve(self); } }, step); return self; }; var self = this; window.addEventListener('load', function () { self.init(); if (self.afterLoad != undefined) self.afterLoad(self); }, false); } gsMapObjectClass.prototype.init = function () { var self = this; for (var i in exports.gsMapInitStartFunctionList) exports.gsMapInitStartFunctionList[i](self); this.dom = document.getElementById(this.mapDivId); console.log(self.userOptions); this.mapCustomEventsHandler.registerMapCustomEvents(self, self.userOptions.events); var mapOpacity = self.userOptions.opacity || 1.0; if (self.userOptions.url == 'bing') { var styles = [ 'Road', 'Aerial', 'AerialWithLabels', 'collinsBart', 'ordnanceSurvey' ]; this.activeBaseLayer = new ol.layer.Tile({ opacity: mapOpacity, source: new ol.source.BingMaps({ key: 'AnOH4hX_YaNwHAdisvgGuUAGcEXxFYE2TwJsswR-vZTSEaTHffULolihVlFpIhjv', imagerySet: styles[1] }) }); } else { this.activeBaseLayer = new ol.layer.Tile({ opacity: mapOpacity, source: new ol.source.XYZ({ url: (self.userOptions.url || 'https://anadigit.fr/wms/wmsolv3xyz2.php?z={z}&x={x}&y={y}&t=15') // 'http://a.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png') , crossOrigin: null }) }); } this.state.zoom = (self.userOptions.zoom || 4); var myControls = ol.control.defaults({ attribution: false, zoom: (self.userOptions.showZoomTool == 1) }); //if(self.userOptions.showZoomTool == 1) myControls.extend([new ol.control.ZoomSlider()]); this.map = new ol.Map({ controls: myControls, layers: [ this.activeBaseLayer ], target: this.mapDivId, view: new ol.View({ center: self.ll2xy([(self.userOptions.lng || 15), (self.userOptions.lat || 44)]), zoom: this.state.zoom }) }); this.map.getView().on('propertychange', function (e) { switch (e.key) { case 'resolution': self.state.zoom = this.getZoom(); break; case 'center': break; } }); this.hlsource = new ol.source.Vector({ wrapX: false, noWrap: true }); this.hllayer = new ol.layer.Vector({ source: this.hlsource, visible: true }); this.map.addLayer(this.hllayer); this.map.on('pointermove', function (evt) { var found = false; self.map.forEachFeatureAtPixel(evt.pixel, function (feature, layer) { if (!layer) { return; } if (feature.get('msp')) { found = true; if (feature.get('msp').hover) feature.get('msp').hover(self, feature, layer, evt.pixel); } }); if (!found) { for (var i in exports.gsMapHoverNotFoundFunctionList) exports.gsMapHoverNotFoundFunctionList[i](self); } }); this.map.on('click', function (evt) { var found = false; self.map.forEachFeatureAtPixel(evt.pixel, function (feature, layer) { if (!layer) { return; } if (feature.get('msp')) { found = true; if (feature.get('msp').click.length > 0) { feature.get('msp').click.forEach(function (f) { f(self, feature, layer, evt.pixel); }); } /* else { if (feature.get('msp').click.length!=0) feature.get('msp').click(self, feature, layer, evt.pixel); }*/ } }); if (!found) { for (var i in exports.gsMapClickNotFoundFunctionList) exports.gsMapClickNotFoundFunctionList[i](self); } }); this.map.getView().on('propertychange', function (e) { switch (e.key) { case 'resolution': for (var i in self.onZoomLeveChangedCustomFunctions) self.onZoomLeveChangedCustomFunctions[i](self, self.state.zoom); break; } }); for (var i in exports.gsMapInitEndFunctionList) exports.gsMapInitEndFunctionList[i](self); var adventureCollectionsKeys = (self.userOptions.ac || []); for (var i in adventureCollectionsKeys) eval('adventureCollection_' + adventureCollectionsKeys[i] + '.registerMap(this);'); var poiCollectionsKeys = (self.userOptions.pc || []); for (var i in poiCollectionsKeys) eval('poiCollection_' + poiCollectionsKeys[i] + '.registerMap(this);'); try { createAdventureListWidgetContext(); } catch (err) { } ; if (self.userOptions.showLogo == 1) { var d = document.createElement('div'); d.style.position = 'absolute'; d.style.top = '10px'; d.style.right = '10px'; d.innerHTML = ''; this.dom.appendChild(d); } }; gsMapObjectClass.prototype.registerOnZoomChangedFunction = function (fn) { this.onZoomLeveChangedCustomFunctions.push(fn); }; gsMapObjectClass.prototype.waitR = function (params, self) { var ms = params.ms; var resolve = params.resolve || function () { }; setTimeout(function () { resolve(self); }, ms); return self; }; gsMapObjectClass.prototype.executeSeq = function (fc) { this.executeSeqItem(fc, 0, this); }; gsMapObjectClass.prototype.executeSeqItem = function (fc, index, self) { var _this = this; /*let p = */ new Promise(function (resolve, reject) { fc[index][1].resolve = resolve; fc[index][0](fc[index][1], _this); }).then(function (self) { if (index < (fc.length - 1)) { self.executeSeqItem(fc, index + 1, self); } }); }; gsMapObjectClass.prototype.getZoom = function () { return this.map.getView().getZoom(); }; gsMapObjectClass.prototype.scaleExtent = function (extent, scaleFactor) { var m = [(extent[0] + extent[2]) / 2, (extent[1] + extent[3]) / 2]; return [ m[0] - (m[0] - extent[0]) * scaleFactor, m[1] - (m[1] - extent[1]) * scaleFactor, m[0] + (m[0] - extent[0]) * scaleFactor, m[1] + (m[1] - extent[1]) * scaleFactor ]; }; return gsMapObjectClass; }()); exports.gsMapObjectClass = gsMapObjectClass; /* new ol.layer.Tile({ source: new ol.source.XYZ({ url: 'https://anadigit.fr/wms/wmsolv3xyz2.php?z={z}&x={x}&y={y}&t=15', crossOrigin: 'null', projection: projection, tileGrid: new ol.tilegrid.TileGrid({ origin: ol.extent.getTopLeft(projectionExtent), resolutions: resolutions, tileSize: 256 }) }) });*/ /* this.activeBaseLayer =new ol.layer.Tile({ source: new ol.source.XYZ({ // /url: 'http://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/${z}/${y}/${x}' // url: 'https://a.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png' // url:'http://{s}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png' // url:'http://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png' // url:'http://server.arcgisonline.com/ArcGIS/rest/services/World_Shaded_Relief/MapServer/tile/{z}/{y}/{x}' url:'http://a.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png' //url:'http://a.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png' //["https://a.tile.thunderforest.com/outdoors/${z}/${x}/${y}.png", //"https://b.tile.thunderforest.com/outdoors/${z}/${x}/${y}.png", //"https://c.tile.thunderforest.com/outdoors/${z}/${x}/${y}.png"] , crossOrigin: null }) })*/ /***/ }), /* 1 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function isTouchDevice() { return 'ontouchstart' in document.documentElement; } function load(gsMapClickNotFoundFunctionList, gsMapHoverNotFoundFunctionList, gsMapInitEndFunctionList, gsMapInitStartFunctionList) { gsMapInitStartFunctionList.push(function (map) { var self = map; map.gsLayers = {}; map.gsLayers.item = []; map.gsLayers.addGeoJsonPromise = function (name, url, style, params) { return Promise.resolve().then((function () { return this.addGeoJson(name, url, style, params); }).bind(this, true)); }; map.gsLayers.removeLayer = function (name) { var layer = self.gsLayers.get(name); if (layer) { layer.remove(); } }; map.gsLayers.addGeoJson = function (name, url, style, params) { var item = { active: true, currentFilterMatchParams: undefined }; item.name = name; item.visible = function (value) { if (value) { item.show(); } else { item.hide(); } }; item.remove = function () { var index = map.gsLayers.item.findIndex(function (i) { return i.name === item.name; }); if (index !== -1) { map.map.removeLayer(item.layer); map.gsLayers.item.splice(index, 1); item = undefined; return true; } return false; }; item.hide = function () { if (item.active) { map.map.removeLayer(item.layer); } item.active = false; }; item.show = function () { if (!item.active) { map.map.addLayer(item.layer); } item.active = true; }; item.getExtent = function () { return item.source.getExtent(); }; if (Object.keys(style).length > 0) { item.styleParams = style.styleParams || {}; } else { item.styleParams = {}; style = undefined; } item.source = new ol.source.Vector({ url: url, format: new ol.format.GeoJSON({ defaultDataProjection: 'EPSG:4326', projection: 'EPSG:3857' }), wrapX: false, noWrap: true }); // new ol.source.Vector({wrapX: false, noWrap: true}); item.layer = new ol.layer.Vector({ source: item.source, visible: true, style: style }); if (params) { if (params.minlevel) { map.registerOnZoomChangedFunction(function (a) { if (params.minlevel > map.state.zoom) { item.hide(); } else { item.show(); } }); } var clickFunctionList = []; if (params.events) { if (params.events.click) { var eventParams = this.eventParams; clickFunctionList.push(function (s, f, l) { var eventParams = f.get('msp').eventParams; for (var i in eventParams.click) { var clickEvent = eventParams.click[i]; if (clickEvent.type === 'modalImage') { var div = document.getElementById('myModal'); if (!div) { console.error('div with id myModal does not exist'); } var width = ''; if (clickEvent.style) { if (clickEvent.style.width) { width = 'width:' + clickEvent.style.width + 'px'; } } div.innerHTML = ''; setTimeout(function () { $('#myModal').modal('show'); }, 200); } if (clickEvent.type === 'function') { clickEvent.function(map, f); } if (clickEvent.type === 'hide') { item.hide(); } } }); } } var hoverFunction = function (s, l, f, p) { }; if (params.tooltip) { if (!isTouchDevice()) { hoverFunction = function (s, f, l, p) { s.tooltip.setContent(this.tooltip_prefix + f.get(this.tooltip_key) + this.tooltip_sufix, this.tooltipParams); s.tooltip.setPosition(p); }; } else { clickFunctionList.push(function (s, f, l, p) { var self = f.get('msp'); s.tooltip.setContent(self.tooltip_prefix + f.get(self.tooltip_key) + self.tooltip_sufix, self.tooltipParams); s.tooltip.setPosition(p); }); } } if (params.tooltip || params.events) { item.source.on('addfeature', function (e) { e.feature.set('msp', { tooltipParams: params.tooltip, eventParams: params.events, tooltip_key: ((params.tooltip) ? params.tooltip.key : undefined), tooltip_prefix: ((params.tooltip) ? params.tooltip.prefix || '' : ''), tooltip_sufix: ((params.tooltip) ? params.tooltip.sufix || '' : ''), click: clickFunctionList, hover: hoverFunction }); }); } if (params.zIndex) { item.layer.setZIndex(params.zIndex); } } map.map.addLayer(item.layer); // console.log(map); map.gsLayers.item.push(item); return item; }; map.gsLayers.filter = function (layerName, match) { var found = false; for (var i in map.gsLayers.item) { if (map.gsLayers.item[i].name == layerName) { var item = map.gsLayers.item[i]; if (!(item.currentFilterMatchParams === match)) { found = true; item.currentFilterMatchParams = match; if (item.styleParams.type == 'icon') { item.layer.setStyle(map.pointStyleIconFiltered(item.styleParams, match)); } if (item.styleParams.type == 'polygon') { item.layer.setStyle(map.polygonStyleFiltered(item.styleParams, match)); } if (item.styleParams.type == 'linestring') { item.layer.setStyle(map.linestringStyleFiltered(item.styleParams, match)); } } } } if (found) { console.log('style is function type. should be applied on features to avoid restyling on each render.'); } }; map.gsLayers.get = function (layerName) { return map.gsLayers.item.filter(function (e) { return e.name === layerName; })[0]; }; }); gsMapInitEndFunctionList.push(function (map) { //console.log(map); }); } exports.load = load; /***/ }), /* 2 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function load(gsMapClickNotFoundFunctionList, gsMapHoverNotFoundFunctionList, gsMapInitEndFunctionList, gsMapInitStartFunctionList) { gsMapInitStartFunctionList.push(function (map) { map.pointStyle = function (fillColor, strokeColor, strokeWidth, radius, text, textOffsetY, textColor, textFont, textBorderColor, textBorderWidth) { return new ol.style.Style({ image: new ol.style.Circle({ radius: radius, fill: new ol.style.Fill({ color: fillColor }), stroke: new ol.style.Stroke({ color: strokeColor, width: strokeWidth }) }), text: new ol.style.Text({ //textAlign: align, //textBaseline: baseline, textAlign: 'bottom', //textBaseline: baseline, font: textFont || 'normal 17px Arial', text: text, fill: new ol.style.Fill({ color: textColor }), stroke: new ol.style.Stroke({ color: textBorderColor || 'white', width: textBorderWidth || 1.5 }), offsetX: 10, offsetY: textOffsetY, rotation: 0 }) }); }; map.gsStyle = function (params) { var st = {}; var type = params.type; var dynamic = (params.dynamic) ? true : false; if (dynamic) { if (type == 'icon') { st = map.pointStyleIconDynamic(params); } if (type == 'point') { st = map.pointStylePointDynamic(params); } } else { if (type == 'icon') { st = map.pointStyleIcon(params); } if (type == 'point') { st = map.pointStylePoint(params); } if (type == 'polygon') { st = map.polygonStyle(params); } if (type == 'linestring') { st = map.linestringStyle(params); } if (type == 'multilinestring') { st = map.multilinestringStyle(params); } } st.styleParams = params; return st; }; map.pointStyleIcon = function (params) { //console.log(params); var iconUrl = params.iconUrl; var scale = params.scale || 0.25; var st = new ol.style.Style({ image: new ol.style.Icon({ //anchor: [0.5, 0.5], // size: [52, 52], //offset: [52, 0], //opacity: 1, scale: scale, src: iconUrl }) }); //st.styleParams = params; return st; }; /****************************** */ map.pointStylePoint = function (params) { if (params.text && typeof params.text === 'object' && params.text.key) { var key_1 = params.text.key; var textFont_1 = 'normal 13px Arial'; if (params.text.size) { textFont_1 = "normal " + params.text.size + "px Arial"; } var textColor_1 = params.text.color || params.color || 'black'; var textBorderColor_1 = params.text.border.color; var textBorderWidth_1 = params.text.border.width; return function (feature) { var text = feature.getProperties()[key_1]; return map.pointStyle(params.fill || 'white', params.color || 'black', params.width || 1, params.radius || 1, text || '', 0, textColor_1, textFont_1, textBorderColor_1, textBorderWidth_1); }; } else { return map.pointStyle(params.fill || 'white', params.color || 'black', params.width || 1, params.radius || 1, params.text || '', 0, params.color || 'black', 'normal 13px Arial'); } }; map.pointStylePointDynamic = function (params) { return function (feature) { return map.pointStylePointDynamicObject(params, feature); }; }; map.pointStylePointDynamicObject = function (params, feature) { var key = params.dynamic.key; var p = feature.getProperties(); var dynamic_params = params.dynamic[p[key]]; if (dynamic_params) { return map.pointStylePoint(dynamic_params); } return map.pointStylePoint(params); }; map.polygonStyle = function (params) { var fill = params.fill || 'white'; var color = params.color || 'black'; var width = params.width || 1; var st = new ol.style.Style({ stroke: new ol.style.Stroke({ color: color, width: width }), fill: new ol.style.Fill({ color: fill }) }); return st; }; map.linestringStyle = function (params) { var color = params.color || 'black'; var width = params.width || 1; var st = new ol.style.Style({ stroke: new ol.style.Stroke({ color: color, width: width }) }); return st; }; map.multilinestringStyle = function (params) { var compositeStyleArray = null; ; if (params.compositeStyleArray) { if (typeof params.compositeStyleArray === 'function') { compositeStyleArray = params.compositeStyleArray || [{ color: 'black', width: 4 }, { color: 'red', width: 2 }]; } else { compositeStyleArray = params.compositeStyleArray || [{ color: 'black', width: 4 }, { color: 'red', width: 2 }]; } } else { } var color; if (params.color instanceof String) { color = params.color || 'black'; } else { color = params.color || 'black'; } var width; if (params.width instanceof Number) { width = params.width || 1; } else { width = params.width || 1; } var paramIndex = params.paramIndex; return function (feature) { var myStyles = null; feature.getGeometry().getLineStrings().forEach(function (ls) { if (compositeStyleArray) { var myCompositeStyleArray = void 0; if (typeof compositeStyleArray === 'function') { myCompositeStyleArray = compositeStyleArray(ls.getCoordinates()[0][paramIndex]); } else { myCompositeStyleArray = compositeStyleArray; } if (myStyles === null) { myStyles = []; myCompositeStyleArray.forEach(function (s) { myStyles.push([]); }); } ; myCompositeStyleArray.forEach(function (s, i) { if (!myStyles[i]) { myStyles[i] = []; } ; myStyles[i].push(new ol.style.Style({ geometry: ls, stroke: new ol.style.Stroke({ color: s.color, width: s.width }) })); }); } else { myStyles = [[]]; var mycolor = void 0; if (typeof color == 'string') { mycolor = color; } else { mycolor = color(ls.getCoordinates()[0][paramIndex]); } var mywidth = void 0; if (typeof width == 'number') { mywidth = width; } else { mywidth = width(ls.getCoordinates()[0][paramIndex]); } myStyles[0].push(new ol.style.Style({ geometry: ls, stroke: new ol.style.Stroke({ color: mycolor, width: mywidth }) })); } }); var outStyles = []; myStyles.forEach(function (s) { outStyles.push.apply(outStyles, s); }); feature.setStyle(outStyles); }; }; map.pointStyleIconDynamic = function (params) { return function (feature) { return map.pointStyleIconDynamicObject(params, feature); }; }; map.pointStyleIconDynamicObject = function (params, feature) { var key = params.dynamic.key; var p = feature.getProperties(); var dynamic_params = params.dynamic[p[key]]; if (dynamic_params) { return map.pointStyleIcon(dynamic_params); } return map.pointStyleIcon(params); }; map.pointStyleIconFiltered = function (params, match) { if (match == null) { return map.gsStyle(params); } ; return function (feature) { var st = {}; var p = feature.getProperties(); var show = true; for (var i in match) { if (match[i].constructor === Array) { if (match[i].indexOf(p[i]) === -1) show = false; } else { if (p[i] != match[i]) { show = false; } } } if (show != true) { st = new ol.style.Style(null); st.styleParams = params; return st; } var dynamic = (params.dynamic) ? true : false; if (dynamic) { st = map.pointStyleIconDynamicObject(params, feature); st.styleParams = params; return st; } st = map.pointStyleIcon(params); st.styleParams = params; return st; }; }; map.polygonStyleFiltered = function (params, match) { if (match == null) { return map.gsStyle(params); } ; return function (feature) { // console.log('pointStyleIconFiltered'); var st = {}; var p = feature.getProperties(); var show = true; for (var i in match) { if (p[i] != match[i]) { show = false; } ; } if (show != true) { st = new ol.style.Style(null); st.styleParams = params; return st; } ; /* var dynamic = (params.dynamic) ? true : false; if (dynamic) { st = map.pointStyleIconDynamicObject(params, feature); st.styleParams = params; return st; }*/ st = map.polygonStyle(params); st.styleParams = params; return st; }; }; map.linestringStyleFiltered = function (params, match) { if (match == null) { return map.gsStyle(params); } ; return function (feature) { // console.log('pointStyleIconFiltered'); var st = {}; var p = feature.getProperties(); var show = true; for (var i in match) { if (p[i] != match[i]) { show = false; } ; } if (show != true) { st = new ol.style.Style(null); st.styleParams = params; return st; } ; st = map.linestringStyle(params); st.styleParams = params; return st; }; }; map.feature_from_coor = function (x, y, msp) { msp = msp || null; return new ol.Feature({ geometry: new ol.geom.Point(ol.proj.transform([x, y], 'EPSG:4326', 'EPSG:3857')) //,color:value.c , msp: msp }); }; map.ll2xy = function (data) { if (data.length == 2) { return ol.proj.transform(data, 'EPSG:4326', 'EPSG:3857'); } else if (data.length == 4) { var p1 = ol.proj.transform([data[0], data[1]], 'EPSG:4326', 'EPSG:3857'); var p2 = ol.proj.transform([data[2], data[3]], 'EPSG:4326', 'EPSG:3857'); return [p1[0], p1[1], p2[0], p2[1]]; } else { alert('unhandled'); } }; map.llArray2xy = function (data) { var out = []; for (var i in data) { out.push(this.ll2xy(data[i])); } return out; }; }); gsMapInitEndFunctionList.push(function (map) { //console.log(map); }); } exports.load = load; /***/ }), /* 3 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function load(gsMapClickNotFoundFunctionList, gsMapHoverNotFoundFunctionList, gsMapInitEndFunctionList, gsMapInitStartFunctionList) { gsMapInitStartFunctionList.push(function (map) { }); gsMapInitEndFunctionList.push(function (map) { //console.log(map); var self = map; map.tooltip = {}; map.tooltip.dom = map.dom.appendChild(document.createElement('div')); map.tooltip.dom.style['position'] = 'absolute'; map.tooltip.dom.style['padding'] = '2px'; map.tooltip.dom.style['padding-left'] = '5px'; map.tooltip.dom.style['padding-right'] = '5px'; map.tooltip.dom.style['background-color'] = 'rgba(0,0,0,0.7)'; map.tooltip.dom.style['border-radius'] = '3px'; map.tooltip.dom.style['overflow'] = 'hidden'; map.tooltip.dom.style['color'] = 'rgba(255,255,255,1)'; map.tooltip.hide = function () { map.tooltip.dom.hidden = true; }; map.tooltip.setPosition = function (pos) { map.tooltip.dom.hidden = false; map.tooltip.dom.style.left = pos[0] + 20 + 'px'; map.tooltip.dom.style.top = pos[1] - 10 + 'px'; }; map.tooltip.setContent = function (content, params) { if (params.background) self.tooltip.dom.style['background-color'] = params.background; if (params.color) self.tooltip.dom.style['color'] = params.color; self.tooltip.dom.innerHTML = content; }; map.registerMapHoverNotFoundFunction(map.tooltip.hide); //map.tooltip.dom.innerHTML = '
'; }); } exports.load = load; /***/ }), /* 4 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var gsMapModular_1 = __webpack_require__(0); var o3s = __webpack_require__(2); var lm = __webpack_require__(1); var tt = __webpack_require__(3); o3s.load(gsMapModular_1.gsMapClickNotFoundFunctionList, gsMapModular_1.gsMapHoverNotFoundFunctionList, gsMapModular_1.gsMapInitEndFunctionList, gsMapModular_1.gsMapInitStartFunctionList); lm.load(gsMapModular_1.gsMapClickNotFoundFunctionList, gsMapModular_1.gsMapHoverNotFoundFunctionList, gsMapModular_1.gsMapInitEndFunctionList, gsMapModular_1.gsMapInitStartFunctionList); tt.load(gsMapModular_1.gsMapClickNotFoundFunctionList, gsMapModular_1.gsMapHoverNotFoundFunctionList, gsMapModular_1.gsMapInitEndFunctionList, gsMapModular_1.gsMapInitStartFunctionList); exports.gsMapManager = new gsMapModular_1.gsMapManagerClass(); /***/ }), /* 5 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var MapCustomEvents = /** @class */ (function () { function MapCustomEvents() { } MapCustomEvents.prototype.registerMapCustomEvents = function (map, params) { if (params) { if (params.zoom) { params.zoom.forEach(function (e) { if (e.type === 'function') { map.registerOnZoomChangedFunction(e.function); } }); } } }; return MapCustomEvents; }()); exports.MapCustomEvents = MapCustomEvents; /***/ }) /******/ ]))); function getAdventureCollection(key,data,meta){ this.key = key; this.data = data; this.meta = meta; this.gsMap = null; this.pointFeatures = [] ; this.lineFeatures = [] ; var self = this; this.source = new ol.source.Vector({wrapX: false, noWrap: true}); this.layer = new ol.layer.Vector({ source: this.source, //clusterSource visible:true }); this.registerMap = function(gsMap){ this.gsMap = gsMap; this.gsMap.map.addLayer(this.layer); this.createFeatures(); } this.createFeatures = function(){ this.createPointFeatures(); this.createLineFeatures(); } this.createPointFeatures = function(){ this.pointFeatures=[]; for(var i in this.data){ var f = this.gsMap.feature_from_coor(this.data[i].x,this.data[i].y,this.pointMsp(this.data[i])); var s = this.adventureIconPointStyle(this.data[i].activity_type,this.data[i].difficulty);//this.gsMap.pointStyle("#ff0000", [0, 0, 0, 0.5], 0, 5, ""); f.setStyle(s); this.pointFeatures.push(f); } this.source.addFeatures(this.pointFeatures); } this.createLineFeatures = function(){ this.lineFeatures=[]; var mycolor = 'rgba(0,97,47,1)'; var mywidth = 1; if(this.meta['style']) if(this.meta['style']['default']) mycolor = this.meta['style']['default']['color']; if(this.meta['style']) if(this.meta['style']['default']) mywidth = this.meta['style']['default']['width']; for(var i in this.data){ var ccolor = mycolor, cwidth=mywidth; if(this.meta['style']) if(this.meta['style'][this.data[i].path]) if(this.meta['style'][this.data[i].path]['useStyle']) { ccolor = this.meta['style'][this.data[i].path]['color']; cwidth = this.meta['style'][this.data[i].path]['width']; } var f = new ol.Feature({ 'geometry': new ol.geom.LineString(this.gsMap.llArray2xy(this.data[i].coor)) }); f.setStyle( new ol.style.Style({ stroke: new ol.style.Stroke({color: (ccolor ), width: cwidth}) }) ); this.lineFeatures.push(f); } this.source.addFeatures(this.lineFeatures); } this.zoomTo = function(){ this.gsMap.map.getView().fit( this.gsMap.ll2xy(this.meta.extent), this.gsMap.map.getSize()); } this.pointMsp = function(item){ var myurl = this.meta.advPath + item.path; if(this.meta['style']) if(this.meta['style'][item.path]) if(this.meta['style'][item.path]['url']) myurl = this.meta['style'][item.path]['url']; var actiontype = "openulr"; if(this.meta['style']) if(this.meta['style']['default']) if(this.meta['style']['default']['action']) if(this.meta['style']['default']['action']['type']) actiontype = this.meta['style']['default']['action']['type']; return { path:item.path, click:[function(s,f,l){ var self = f.get('msp'); browser.httpGet('https://anadigit.fr/gsMap/modules/adventure/getView.php?i=' + self.path + '&l=' + datasetLanguage + '&u=' +encodeURIComponent(myurl)).then(function(data){ var html = data.split("",""); var div = document.getElementById("myModal"); div.innerHTML = ''; setTimeout(function () { eval(js); $('#myModal').modal('show'); }, 200); }); }]}; } this.adventureIconPointStyle = function(activity_type,difficulty){ var iconpath = 'https://anadigit.fr/TopoMedia/Icons/activity_adv_loc/activity_' + activity_type + '_' + difficulty + '_adv_loc.png'; return new ol.style.Style({ image: new ol.style.Icon({ src: iconpath, //size: [liconsize, liconsize] scale:0.4 })/*, stroke: new ol.style.Stroke({ color: (s_color ) ,width: 1+is301 + (map3.getZoom()-8) }) */}) } } var adventureCollection_Nestos_Rodopi_Trails = new getAdventureCollection("Nestos_Rodopi_Trails",[{"id":17378,"author":"AnaDigit","name_GR":"Nestos-Rodopi Trails: 06 \u039b\u03b5\u03b9\u03b2\u03b1\u03b4\u03af\u03c4\u03b7\u03c2-\u0394\u03b1\u03c3\u03b9\u03ba\u03cc \u03a7\u03c9\u03c1\u03b9\u03cc \u0395\u03c1\u03c5\u03bc\u03ac\u03bd\u03b8\u03bf\u03c5","description_GR":"\u039b\u03b5\u03b9\u03b2\u03b1\u03b4\u03af\u03c4\u03b7\u03c2-\u0394\u03b1\u03c3\u03b9\u03ba\u03cc \u03a7\u03c9\u03c1\u03b9\u03cc \u0395\u03c1\u03c5\u03bc\u03ac\u03bd\u03b8\u03bf\u03c5","path":"THRACE\/Thrace_Nestos_Vouna_Xanthis_Livaditis_Erymanthos","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":9838,"name_EN":"Nestos-Rodopi Trails: 06 Livaditis-Erymanthos Forest Village","description_EN":"Livaditis-Erymanthos Forest Village","ascent_time":235,"descent_time":220,"marker":"No_marks","level":9,"ascent":621,"descent":534,"maxelev":1320,"minelev":874,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.66925 41.30368,24.71251 41.33251)","views":83,"millestones":"0,24.6709006,41.3042286#1,24.6694400,41.3102149#2,24.6719168,41.3178671#3,24.6725029,41.3236806#4,24.6736223,41.3278280#5,24.6737988,41.3262442#6,24.6815563,41.3252090#7,24.6915203,41.3229610#8,24.6979277,41.3278615#9,24.7075370,41.3286265#9.8,24.7128163,41.3320308","x":24.673603,"y":41.3278578,"coor":[[24.6709006,41.3042286],[24.670529,41.3042533],[24.6694986,41.303944],[24.6692021,41.3043736],[24.6689703,41.3047082],[24.669366,41.30485],[24.6701564,41.3051877],[24.6701714,41.3054939],[24.6702442,41.3056016],[24.6708428,41.3057332],[24.6705642,41.3063699],[24.6705602,41.3065636],[24.6707033,41.3065447],[24.670765,41.3067335],[24.6705159,41.3069061],[24.6704349,41.3071588],[24.6705225,41.3075546],[24.670336,41.3080061],[24.6703173,41.3085106],[24.6698661,41.3087835],[24.6695252,41.3093169],[24.6693233,41.3094352],[24.6692062,41.30967],[24.6692569,41.309949],[24.6695661,41.3104021],[24.6696279,41.3105999],[24.6698449,41.3107968],[24.6699435,41.3110845],[24.6702197,41.311227],[24.6703287,41.3113705],[24.6704896,41.311919],[24.6707912,41.3122055],[24.6708535,41.3124573],[24.6709816,41.3125647],[24.6710653,41.3127263],[24.6716075,41.3131735],[24.6717053,41.3133891],[24.6721979,41.3136565],[24.6724299,41.3141416],[24.6722637,41.3142416],[24.6722644,41.3143137],[24.6725776,41.314564],[24.6726276,41.3147799],[24.6728099,41.3150761],[24.6727301,41.3154549],[24.6731656,41.3159748],[24.6731555,41.316155],[24.6726229,41.3166445],[24.6724963,41.3169695],[24.672541,41.3170368],[24.6723653,41.3173802],[24.6721874,41.3175073],[24.671539,41.3183578],[24.6715411,41.318556],[24.6716383,41.3187175],[24.6716328,41.3191274],[24.6716914,41.3191586],[24.671607,41.3193032],[24.672064,41.3195888],[24.6723298,41.3198755],[24.6726771,41.3199545],[24.6731093,41.3201592],[24.6733147,41.3203831],[24.6736492,41.3203722],[24.6735904,41.3204626],[24.6732806,41.3205545],[24.6731982,41.3206721],[24.6733561,41.3209234],[24.6736432,41.3209577],[24.6737878,41.321074],[24.6743518,41.3213049],[24.674853,41.3212479],[24.6750698,41.3214087],[24.674861,41.3220225],[24.6745866,41.3220601],[24.6743026,41.322332],[24.6739445,41.3224332],[24.673372,41.3226842],[24.6731584,41.3228296],[24.672947,41.3231822],[24.672473,41.3235632],[24.6725097,41.3236531],[24.6724178,41.3240139],[24.672168,41.3241235],[24.6721693,41.3242496],[24.6720261,41.3242684],[24.6716821,41.3245046],[24.6714109,41.3248665],[24.6716365,41.3248697],[24.6725666,41.3246841],[24.6728426,41.3247906],[24.6731527,41.3247348],[24.6733201,41.3247518],[24.6734284,41.3248232],[24.6737271,41.3248215],[24.6739069,41.3248745],[24.6741236,41.3250353],[24.6745424,41.3250869],[24.6743064,41.3253765],[24.6741034,41.3253958],[24.6740085,41.3254594],[24.6742036,41.3258365],[24.6744556,41.3259432],[24.6745406,41.3260688],[24.6744703,41.3262043],[24.6742272,41.3262417],[24.674024,41.3262429],[24.6739279,41.3261894],[24.6738329,41.326244],[24.6735819,41.3262455],[24.6735632,41.3263087],[24.6736118,41.3263895],[24.6734934,41.3264982],[24.6739618,41.3267297],[24.674026,41.3271527],[24.6739666,41.3271891],[24.6738932,41.3270274],[24.6738094,41.3270098],[24.6737912,41.3275594],[24.6735626,41.3274166],[24.6734552,41.3274263],[24.6736266,41.3278216],[24.673603,41.3278578],[24.6734707,41.3277684],[24.6734236,41.3278408],[24.6734622,41.3281108],[24.6736192,41.328272],[24.6735483,41.3283445],[24.6733207,41.3282918],[24.6734062,41.3284714],[24.6733109,41.328499],[24.6728441,41.3281324],[24.6725997,41.3277555],[24.6725278,41.3277379],[24.6723976,41.3278558],[24.6720119,41.3275338],[24.671914,41.3273092],[24.6720119,41.3275338],[24.6723976,41.3278558],[24.6725278,41.3277379],[24.6725997,41.3277555],[24.6728441,41.3281324],[24.6733109,41.328499],[24.6734062,41.3284714],[24.6733207,41.3282918],[24.6735483,41.3283445],[24.6736192,41.328272],[24.6734622,41.3281108],[24.6734236,41.3278408],[24.6734707,41.3277684],[24.673603,41.3278578],[24.6736266,41.3278216],[24.6734552,41.3274263],[24.6735626,41.3274166],[24.6737912,41.3275594],[24.6738094,41.3270098],[24.6738932,41.3270274],[24.6739666,41.3271891],[24.674026,41.3271527],[24.6739618,41.3267297],[24.6734934,41.3264982],[24.6736118,41.3263895],[24.6735632,41.3263087],[24.6735819,41.3262455],[24.6738329,41.326244],[24.6739279,41.3261894],[24.674024,41.3262429],[24.6742272,41.3262417],[24.67435,41.3263446],[24.6745055,41.3263617],[24.6749696,41.3261788],[24.6752084,41.3261594],[24.6757836,41.3263182],[24.6759044,41.3264436],[24.6761432,41.3264242],[24.6768377,41.3265642],[24.6775586,41.3269473],[24.6781654,41.3266915],[24.6782825,41.3264566],[24.6786974,41.3261389],[24.6790445,41.3261909],[24.6793069,41.3261533],[24.6794512,41.3262335],[24.6794522,41.3263326],[24.6795296,41.3263051],[24.6797199,41.3262229],[24.6800316,41.3263202],[24.6804256,41.3262908],[24.6801249,41.3260944],[24.6806491,41.3259472],[24.6803853,41.3258587],[24.6805158,41.3257679],[24.6809454,41.3257113],[24.6811727,41.325737],[24.6808721,41.3255586],[24.6809193,41.3255043],[24.6811581,41.3254848],[24.6815165,41.3254737],[24.6813238,41.3253307],[24.6811085,41.325314],[24.6813705,41.3252224],[24.6816212,41.3252029],[24.6815597,41.3250411],[24.6817722,41.3247876],[24.6823349,41.3247528],[24.6841839,41.3240212],[24.6844938,41.3239473],[24.6847088,41.323946],[24.6858708,41.3242273],[24.6866846,41.3243486],[24.6868809,41.3243339],[24.6870697,41.3242517],[24.6873101,41.3239575],[24.6888459,41.3228584],[24.6895529,41.3225614],[24.6896597,41.3226959],[24.6898527,41.3226587],[24.6905564,41.3228977],[24.6910571,41.3227866],[24.691525,41.3229639],[24.6919071,41.3229436],[24.692351,41.3231121],[24.6927613,41.323497],[24.6930734,41.3236302],[24.6937061,41.3235723],[24.694306,41.3238029],[24.6944734,41.3238109],[24.6946435,41.3240801],[24.6945861,41.3242967],[24.6947065,41.324386],[24.6943875,41.3247302],[24.6944841,41.3248197],[24.6944854,41.3249458],[24.694358,41.3253249],[24.6943497,41.3256672],[24.6942558,41.3258299],[24.6942573,41.325974],[24.6943665,41.3261265],[24.6941793,41.326506],[24.694146,41.3267404],[24.6945562,41.3271162],[24.6950483,41.3273114],[24.6959344,41.3274862],[24.6963288,41.3274928],[24.6965785,41.3273742],[24.6967347,41.3274633],[24.6971532,41.3274878],[24.6975011,41.3276118],[24.6978382,41.327844],[24.6985327,41.3279839],[24.6987206,41.3276765],[24.6988986,41.3275583],[24.6991136,41.327548],[24.6992801,41.3274749],[24.6994451,41.3272577],[24.6996476,41.3272025],[24.7001254,41.3271815],[24.7006463,41.3278449],[24.7008508,41.3279698],[24.7011673,41.3285083],[24.7013361,41.3286514],[24.7018624,41.3287023],[24.7022703,41.3288439],[24.7026794,41.3291116],[24.7029053,41.3290021],[24.7032514,41.328964],[24.7037388,41.3287268],[24.7041331,41.3287244],[24.7045966,41.3284874],[24.70486,41.3285308],[24.705027,41.3285028],[24.7058246,41.3282276],[24.7063745,41.3282423],[24.7066518,41.3284748],[24.707119,41.32858],[24.7072607,41.3285566],[24.70768,41.3286621],[24.7081221,41.3286504],[24.7083137,41.3286943],[24.708758,41.3288897],[24.7089032,41.3290599],[24.7092637,41.3292469],[24.7094641,41.3293988],[24.7098756,41.329671],[24.7100679,41.3296383],[24.7101469,41.3296918],[24.7100883,41.3298003],[24.710161,41.3298899],[24.7102008,41.3302499],[24.710514,41.3304822],[24.7106837,41.3307064],[24.7108784,41.3310294],[24.710864,41.3312142],[24.7114194,41.3317332],[24.7115782,41.3320565],[24.7116959,41.3322269],[24.7118866,41.3322527],[24.7123985,41.3320694],[24.7127099,41.3321395],[24.7128163,41.3320308]]},{"id":17379,"author":"AnaDigit","name_GR":"Nestos-Rodopi Trails: 04 \u03a3\u03c4\u03b1\u03c5\u03c1\u03bf\u03cd\u03c0\u03bf\u03bb\u03b7-\u039a\u03ac\u03c4\u03c9 \u039a\u03b1\u03c1\u03c5\u03cc\u03c6\u03c5\u03c4\u03bf","description_GR":"\u03a3\u03c4\u03b1\u03c5\u03c1\u03bf\u03cd\u03c0\u03bf\u03bb\u03b7-\u039a\u03ac\u03c4\u03c9 \u039a\u03b1\u03c1\u03c5\u03cc\u03c6\u03c5\u03c4\u03bf","path":"THRACE\/Thrace_Nestos_Vouna_Xanthis_Stavroupoli_Karyofyto","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":11774,"name_EN":"Nestos-Rodopi Trails: 04 Stavroupoli-Karyofyto","description_EN":"Stavroupoli-Karyofyto","ascent_time":290,"descent_time":270,"marker":"No_marks","level":9,"ascent":660,"descent":273,"maxelev":584,"minelev":90,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.67301 41.19865,24.71144 41.2585)","views":43,"millestones":"0,24.7055254,41.1986857#1,24.7077122,41.2031174#2,24.7112410,41.2105994#3,24.7104410,41.2184764#4,24.7066019,41.2252969#5,24.7007109,41.2269494#6,24.6967767,41.2300558#7,24.6900380,41.2347243#8,24.6815224,41.2391168#9,24.6829781,41.2451858#10,24.6803378,41.2493292#11,24.6769493,41.2557713#11.8,24.6730042,41.2582953","x":24.6929416,"y":41.2299559,"coor":[[24.7055254,41.1986857],[24.7052883,41.1990295],[24.7052321,41.1991379],[24.7054606,41.1993166],[24.7058866,41.1997734],[24.7059583,41.1999216],[24.7063778,41.2001172],[24.7067374,41.2002817],[24.7068191,41.2004658],[24.7070265,41.2008969],[24.7070542,41.2012571],[24.7072994,41.2018771],[24.7073382,41.2022236],[24.7070884,41.2022792],[24.7063947,41.2021033],[24.7056067,41.2020271],[24.705379,41.2019204],[24.704799,41.2019149],[24.7046449,41.202006],[24.7046825,41.2021769],[24.7051728,41.2023],[24.7056047,41.2025315],[24.7068201,41.2029835],[24.7076198,41.2030326],[24.7079329,41.2033189],[24.708486,41.2037299],[24.7088259,41.2037954],[24.7093704,41.2038956],[24.7092187,41.2042028],[24.7095696,41.2044664],[24.7100922,41.2053639],[24.7100497,41.2058506],[24.7097935,41.2064197],[24.7098461,41.2068697],[24.7099794,41.2070671],[24.7096626,41.2075554],[24.7097616,41.2078791],[24.7097441,41.2084737],[24.710169,41.2091557],[24.710041,41.2094538],[24.710066,41.2095617],[24.7106268,41.2101978],[24.7112032,41.2105545],[24.7115778,41.2110026],[24.7114698,41.2114176],[24.7114562,41.2114718],[24.7112747,41.2121304],[24.7111701,41.2134823],[24.7109569,41.2136277],[24.710813,41.2135565],[24.7107776,41.2135928],[24.7108514,41.2137995],[24.7112485,41.2141123],[24.7113353,41.214418],[24.7111712,41.2146893],[24.711138,41.2149237],[24.7107375,41.2153946],[24.7107805,41.2160609],[24.7105855,41.2167827],[24.7106609,41.2171335],[24.7108779,41.2173484],[24.711166,41.2175087],[24.7112537,41.2179045],[24.7110425,41.2182301],[24.7101518,41.2185959],[24.7098352,41.2191023],[24.7095268,41.2192754],[24.7094095,41.2194562],[24.7084771,41.2203898],[24.7083429,41.2212193],[24.7081809,41.2216797],[24.7079573,41.2219693],[24.7076962,41.222097],[24.7073782,41.2224773],[24.7065461,41.2227617],[24.7065586,41.2228156],[24.7066663,41.222842],[24.707538,41.2229177],[24.7076581,41.222989],[24.7077072,41.2231148],[24.7077138,41.2234526],[24.7075616,41.2237238],[24.7075422,41.2241382],[24.7073891,41.2243193],[24.7070213,41.2245108],[24.7069771,41.2248353],[24.7065296,41.2253785],[24.7066414,41.2257922],[24.706524,41.2261127],[24.7063834,41.2263477],[24.70624,41.2264657],[24.7054664,41.2266416],[24.7056668,41.2264152],[24.7059038,41.2262696],[24.7060069,41.2258726],[24.7058128,41.2255766],[24.7054898,41.2254885],[24.7054949,41.2248579],[24.7053416,41.225021],[24.7052438,41.2248054],[24.7048401,41.224988],[24.7044705,41.2250083],[24.7043163,41.2250903],[24.7035057,41.2251583],[24.7028394,41.2253335],[24.7026724,41.2253346],[24.7020901,41.2255498],[24.7012636,41.2263565],[24.7012927,41.2268518],[24.7012341,41.2269512],[24.7008527,41.2269896],[24.7002544,41.226822],[24.6999992,41.2268101],[24.6997108,41.226965],[24.699808,41.2271265],[24.7001087,41.2273589],[24.7000268,41.2275035],[24.7001477,41.2276559],[24.6999231,41.2278554],[24.6999245,41.2279815],[24.7003214,41.2282854],[24.70006,41.2283816],[24.6999549,41.2283912],[24.6996698,41.228501],[24.6992084,41.2289452],[24.6986375,41.2291108],[24.6986149,41.2292371],[24.6989615,41.229289],[24.6991536,41.2293959],[24.6993475,41.229683],[24.6998835,41.2295897],[24.7002776,41.2296233],[24.700338,41.229695],[24.6996391,41.2301767],[24.699425,41.230232],[24.6992829,41.230341],[24.6988902,41.2304334],[24.6988201,41.230578],[24.6985707,41.2306876],[24.6984845,41.230571],[24.6980403,41.2303215],[24.6973583,41.2301455],[24.6965456,41.2300153],[24.6957818,41.2300019],[24.6954216,41.2297879],[24.6948586,41.2295751],[24.6945722,41.2295768],[24.6942753,41.2297047],[24.6935961,41.2297899],[24.6933808,41.2297371],[24.6930352,41.2297842],[24.6929416,41.2299559],[24.6928699,41.2299474],[24.6929198,41.2301542],[24.6928174,41.2306233],[24.6928464,41.2311095],[24.6925873,41.2314353],[24.6924155,41.2321119],[24.6918346,41.2324757],[24.6909669,41.2327872],[24.6906097,41.2329335],[24.6904089,41.2331329],[24.6904259,41.2338939],[24.6903234,41.2340071],[24.6902442,41.2344895],[24.6900084,41.2347612],[24.6894758,41.2351787],[24.6895594,41.2351782],[24.6895128,41.2352866],[24.6891935,41.2355677],[24.6881394,41.2363217],[24.6876286,41.2365409],[24.6866509,41.2366188],[24.6861392,41.236748],[24.6856205,41.2373546],[24.6856484,41.2377417],[24.6855658,41.2378323],[24.6853977,41.2377342],[24.6852545,41.2377351],[24.6847623,41.2374497],[24.6844873,41.2373973],[24.6841773,41.2374262],[24.6838814,41.2376622],[24.6832975,41.2377377],[24.6830478,41.2378292],[24.6826457,41.2381739],[24.6824671,41.238211],[24.6819342,41.2386105],[24.6812392,41.2394794],[24.6810433,41.2401471],[24.6807832,41.2403828],[24.6806782,41.2406177],[24.6806008,41.2412126],[24.6800462,41.2418194],[24.6797612,41.2419472],[24.6793645,41.2426071],[24.6792584,41.2427338],[24.6792849,41.2429859],[24.6796087,41.2432857],[24.680581,41.2436808],[24.6807614,41.2438239],[24.6812472,41.2446317],[24.6812894,41.245244],[24.681209,41.2455507],[24.6818511,41.2453217],[24.6824238,41.2453093],[24.6832216,41.2451335],[24.6837193,41.2447882],[24.6841008,41.2447499],[24.6839227,41.2448411],[24.6837953,41.2449994],[24.6838455,41.2452333],[24.6839423,41.2453589],[24.6843143,41.2455548],[24.6842923,41.2457351],[24.6838522,41.2458729],[24.6836042,41.2461265],[24.6834846,41.2461092],[24.6831474,41.245814],[24.6827404,41.2456993],[24.6823472,41.2457557],[24.6821546,41.245955],[24.6820578,41.2462618],[24.6821324,41.2465496],[24.6819905,41.2466766],[24.6819099,41.2469563],[24.6820561,41.2472437],[24.6817872,41.2477857],[24.6819935,41.2481088],[24.6819258,41.2484875],[24.6822724,41.2485395],[24.6822614,41.2486206],[24.6817391,41.248894],[24.6813461,41.2489864],[24.6809523,41.2489887],[24.6806311,41.2490897],[24.6804068,41.2493252],[24.6797866,41.2493649],[24.679588,41.2497804],[24.6795537,41.2499247],[24.6796616,41.2499782],[24.6795673,41.2500868],[24.6793657,41.2502141],[24.6791505,41.2501793],[24.6790205,41.2503062],[24.6786871,41.2503802],[24.6785813,41.250543],[24.6778115,41.251124],[24.6779554,41.2511862],[24.6781576,41.251113],[24.6782059,41.2511667],[24.6780884,41.2513476],[24.6779097,41.2513847],[24.6780077,41.2516273],[24.6779855,41.2517896],[24.6779027,41.2518621],[24.6780232,41.2519695],[24.677941,41.2521051],[24.6781224,41.2523292],[24.6781867,41.2527792],[24.6781438,41.2532479],[24.6779192,41.2534564],[24.6780759,41.2535996],[24.6779694,41.2536903],[24.6779359,41.2539157],[24.677852,41.2538801],[24.6777455,41.2539708],[24.6777947,41.2541147],[24.6777121,41.2542052],[24.6777526,41.2544392],[24.6778486,41.2544927],[24.6777461,41.2546104],[24.6778243,41.2548081],[24.6776682,41.2549351],[24.6777299,41.2551329],[24.6776842,41.2553314],[24.6773303,41.2557388],[24.6770437,41.2557225],[24.6767587,41.2558683],[24.6764724,41.255888],[24.6760661,41.2558363],[24.6760429,41.2559085],[24.6759712,41.2558999],[24.6759261,41.2561524],[24.6761056,41.2562009],[24.6762077,41.2564075],[24.6760678,41.2567326],[24.6761404,41.2568222],[24.675798,41.2571845],[24.6760776,41.2573856],[24.6758896,41.2576839],[24.6756942,41.2584057],[24.6755251,41.2582175],[24.675179,41.2582195],[24.6749649,41.2583019],[24.6748373,41.258226],[24.6746973,41.2583169],[24.6746274,41.2584885],[24.6742678,41.2583465],[24.674192,41.2583694],[24.6735816,41.2582109],[24.6730042,41.2582953]]},{"id":17380,"author":"AnaDigit","name_GR":"Nestos-Rodopi Trails: 03 \u039a\u03c1\u03c9\u03bc\u03bd\u03b9\u03ba\u03cc-\u03a3\u03c4\u03b1\u03c5\u03c1\u03bf\u03cd\u03c0\u03bf\u03bb\u03b7","description_GR":"\u039a\u03c1\u03c9\u03bc\u03bd\u03b9\u03ba\u03cc-\u03a3\u03c4\u03b1\u03c5\u03c1\u03bf\u03cd\u03c0\u03bf\u03bb\u03b7","path":"THRACE\/Thrace_Nestos_Vouna_Xanthis_Kromniko_Stavroupoli","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":10754,"name_EN":"Nestos-Rodopi Trails: 03 Kromniko-Stavroupoli","description_EN":"Kromniko-Stavroupoli","ascent_time":240,"descent_time":260,"marker":"No_marks","level":9,"ascent":151,"descent":552,"maxelev":511,"minelev":17,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.6971 41.13966,24.73887 41.20234)","views":50,"millestones":"0,24.7386874,41.1396613#1,24.7329804,41.1470902#2,24.7292532,41.1548795#3,24.7252699,41.1611951#4,24.7178054,41.1662516#5,24.7104778,41.1723352#6,24.7008086,41.1740145#7,24.6983629,41.1802584#8,24.6990506,41.1887588#9,24.6975491,41.1973531#10,24.7045545,41.2018746#10.8,24.7055244,41.1986677","x":24.7111084,"y":41.1721054,"coor":[[24.7386874,41.1396613],[24.7388732,41.1397547],[24.7386729,41.1400893],[24.7382359,41.1404344],[24.7378451,41.141716],[24.737332,41.1427101],[24.7368362,41.1431277],[24.7366152,41.1436155],[24.7357524,41.1442516],[24.7353062,41.1448399],[24.7348225,41.1452754],[24.734255,41.1456754],[24.7338516,41.1458311],[24.7335326,41.1460853],[24.7331957,41.1468621],[24.7329366,41.147134],[24.7330236,41.1474578],[24.7328164,41.1481166],[24.7325122,41.148623],[24.7320406,41.1490764],[24.731738,41.1497269],[24.7317712,41.1505734],[24.7316794,41.1508893],[24.7316892,41.151772],[24.7314531,41.1519717],[24.7307298,41.1523005],[24.7306724,41.1524991],[24.7298408,41.1538105],[24.729992,41.1545482],[24.7298731,41.1545759],[24.7297412,41.1545047],[24.7295275,41.1545781],[24.7292449,41.1548862],[24.729713,41.1551895],[24.7295638,41.1557039],[24.7296367,41.1558295],[24.7298403,41.1559183],[24.7299257,41.1560979],[24.7298228,41.1564859],[24.7298266,41.1568282],[24.7294848,41.1571817],[24.7292809,41.1573271],[24.7291379,41.157328],[24.728827,41.1572399],[24.728575,41.1570883],[24.7284207,41.1571433],[24.7283621,41.1572338],[24.7285105,41.1577193],[24.7283118,41.1580718],[24.7280162,41.1582899],[24.7270597,41.1586202],[24.7270072,41.1584539],[24.7268394,41.1586396],[24.7261795,41.1592563],[24.726198,41.1595174],[24.7261059,41.1598063],[24.7256364,41.1604668],[24.7254753,41.1609903],[24.7252749,41.1611897],[24.7248995,41.1616019],[24.7240094,41.1619498],[24.7226278,41.1620486],[24.7220928,41.162178],[24.7218545,41.1621795],[24.7216034,41.162109],[24.7214083,41.1619841],[24.7210397,41.1620675],[24.720664,41.1620383],[24.7205987,41.1622009],[24.7203039,41.162491],[24.720131,41.1634379],[24.72009,41.1636453],[24.719475,41.1640815],[24.7186731,41.1652125],[24.7185411,41.1654115],[24.718534,41.1659205],[24.7183066,41.1658319],[24.7181758,41.1658597],[24.7177633,41.1662946],[24.7171646,41.1666587],[24.7166892,41.1667877],[24.7161928,41.1671782],[24.7157209,41.1676315],[24.7149234,41.1686994],[24.7149375,41.1688975],[24.7146001,41.1691878],[24.7141852,41.1693975],[24.7137081,41.1693735],[24.7135543,41.1694825],[24.7133088,41.1699254],[24.7127411,41.1714423],[24.7122227,41.172004],[24.7120683,41.172059],[24.7116933,41.1721739],[24.7111084,41.1721054],[24.7108346,41.1721431],[24.7099812,41.1725988],[24.7093156,41.172094],[24.7090767,41.1720504],[24.7088029,41.1720881],[24.7082261,41.1722133],[24.7077661,41.1726755],[24.707505,41.1727852],[24.7064551,41.1727015],[24.7059441,41.1728578],[24.7048238,41.1728827],[24.7045729,41.1729743],[24.7043112,41.1730299],[24.7033216,41.173018],[24.7028796,41.1729306],[24.7026775,41.1729859],[24.7024885,41.1731492],[24.702334,41.1731861],[24.7009224,41.1730866],[24.700615,41.1733227],[24.700789,41.1739882],[24.700922,41.1741676],[24.7010897,41.1742386],[24.7017148,41.1747212],[24.701793,41.1750676],[24.7013227,41.1748497],[24.7007967,41.1747088],[24.7007046,41.1750156],[24.7007233,41.1756551],[24.7008596,41.1769784],[24.7014036,41.1776777],[24.701288,41.1780207],[24.7013109,41.1781377],[24.7010498,41.1787383],[24.7006848,41.1791729],[24.7003177,41.1794093],[24.6996275,41.1795306],[24.6987733,41.1799321],[24.6981348,41.1804314],[24.6980081,41.1808466],[24.6981355,41.1814043],[24.6987031,41.1820854],[24.6990332,41.1828581],[24.6992386,41.1831091],[24.699454,41.1831888],[24.6994292,41.1833016],[24.6997266,41.1843627],[24.6995412,41.1848682],[24.6995825,41.1852418],[24.6994848,41.1861522],[24.6994761,41.1875755],[24.699259,41.1884596],[24.6990588,41.188695],[24.6990366,41.1888573],[24.698968,41.1890603],[24.6986866,41.1897241],[24.6983333,41.1901406],[24.697297,41.1918629],[24.6970696,41.1929767],[24.697005,41.1932113],[24.697021,41.1935986],[24.6973463,41.1939028],[24.6973672,41.1947495],[24.6975185,41.1950998],[24.6975893,41.1962254],[24.6975231,41.1989732],[24.6971266,41.1998223],[24.6970844,41.200345],[24.6975174,41.2006847],[24.6992847,41.2008901],[24.7007316,41.2012507],[24.7020802,41.2013325],[24.7025555,41.2014467],[24.7030735,41.2015832],[24.7038495,41.2016505],[24.7041972,41.2018195],[24.7047997,41.2019149],[24.705379,41.2019204],[24.7056067,41.2020271],[24.7063947,41.2021033],[24.7070884,41.2022792],[24.7073382,41.2022236],[24.7073002,41.2018771],[24.707055,41.201257],[24.7070273,41.2008969],[24.7068199,41.2004658],[24.7067381,41.2002817],[24.7063786,41.2001172],[24.7059591,41.1999216],[24.7058874,41.1997734],[24.7054613,41.1993166],[24.7052321,41.1991379],[24.7052883,41.1990295],[24.7055244,41.1986677]]},{"id":17382,"author":"AnaDigit","name_GR":"Nestos-Rodopi Trails: 02 \u03a3\u03c4\u03b5\u03bd\u03ac \u039d\u03ad\u03c3\u03c4\u03bf\u03c5","description_GR":"\u0393\u03b1\u03bb\u03ac\u03bd\u03b7-\u039a\u03c1\u03c9\u03bc\u03bd\u03b9\u03ba\u03cc","path":"THRACE\/Thrace_Nestos_Vouna_Xanthis_Galani_Kromniko","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":5,"length":10210,"name_EN":"Nestos-Rodopi Trails: 02 Nestos Gorges","description_EN":"Galani-Kromniko","ascent_time":205,"descent_time":185,"marker":"No_marks","level":9,"ascent":695,"descent":231,"maxelev":517,"minelev":46,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.72426 41.09307,24.75868 41.13975)","views":114,"millestones":"0,24.7580774,41.0930727#1,24.7525518,41.0977056#2,24.7482250,41.1018672#3,24.7406717,41.1032278#4,24.7323608,41.1060734#5,24.7268096,41.1078666#6,24.7254283,41.1135709#7,24.7304285,41.1200887#8,24.7389633,41.1248880#9,24.7414152,41.1307895#10.2,24.7386874,41.1396613","x":24.7278235,"y":41.107775,"coor":[[24.7580774,41.0930727],[24.7578542,41.0933354],[24.7578444,41.0935156],[24.7587033,41.09469],[24.7583897,41.0953767],[24.758477,41.0957184],[24.7579568,41.0960461],[24.7576871,41.0964082],[24.7572614,41.0966632],[24.7570583,41.0966105],[24.7569186,41.0968816],[24.7565148,41.0969744],[24.7563374,41.0970836],[24.7560159,41.0970857],[24.7556265,41.0973946],[24.7552564,41.0973069],[24.7550074,41.0973986],[24.7545781,41.0973474],[24.7542217,41.0974218],[24.7537266,41.0973395],[24.7531171,41.0971453],[24.7524614,41.0970775],[24.7525459,41.097176],[24.7525728,41.0974461],[24.7525313,41.0979868],[24.7523928,41.0983751],[24.7523986,41.0988795],[24.7520835,41.09944],[24.7521816,41.0996916],[24.7518627,41.0999189],[24.7517467,41.1001899],[24.751727,41.1005503],[24.7515763,41.1009116],[24.7515812,41.101344],[24.7514991,41.1014526],[24.7517631,41.101631],[24.7518512,41.1020448],[24.7520203,41.1022509],[24.7519871,41.1024763],[24.7518457,41.1026034],[24.7516203,41.1026859],[24.7517477,41.1023698],[24.7516995,41.1023161],[24.7515094,41.1023533],[24.7509372,41.102303],[24.7506773,41.1024849],[24.7505702,41.1024946],[24.7504852,41.102351],[24.7496353,41.1019602],[24.7490297,41.1021173],[24.7488285,41.1022267],[24.748602,41.1022011],[24.7480487,41.1017183],[24.7474172,41.1016863],[24.747284,41.101498],[24.7470452,41.1014365],[24.7469836,41.1012568],[24.7464112,41.1011884],[24.7461721,41.1011089],[24.7460036,41.1009478],[24.7456694,41.1008779],[24.7453068,41.1004029],[24.7449729,41.100369],[24.7449585,41.1001439],[24.7446324,41.0997406],[24.744538,41.0998133],[24.7441728,41.1012209],[24.7439845,41.1014203],[24.7438812,41.1017633],[24.7432792,41.1022356],[24.7432332,41.10238],[24.7429975,41.1025977],[24.7424739,41.1026371],[24.7420483,41.1029101],[24.7417163,41.1030383],[24.7405873,41.1032438],[24.7400201,41.1036348],[24.7397317,41.1034114],[24.7392082,41.1034508],[24.7387999,41.1042101],[24.738194,41.1043401],[24.7383585,41.1052038],[24.7382918,41.1056276],[24.7379765,41.1061881],[24.7376805,41.1062125],[24.7374284,41.1061646],[24.737275,41.1062917],[24.7365748,41.1065123],[24.7363357,41.1064328],[24.7361575,41.10647],[24.7359663,41.1064081],[24.73455,41.1064892],[24.7329742,41.106157],[24.7324973,41.106106],[24.7322346,41.1060446],[24.7321385,41.1059641],[24.7319385,41.1059879],[24.7319158,41.1061592],[24.7317035,41.1063407],[24.7315517,41.1066119],[24.7315218,41.1071436],[24.7314619,41.1072385],[24.7315704,41.1073639],[24.7315367,41.1075443],[24.7316933,41.1077055],[24.7312908,41.1079242],[24.7316647,41.1083452],[24.7312816,41.1081675],[24.7297667,41.1079519],[24.7281699,41.1078719],[24.7278235,41.107775],[24.7275952,41.1075963],[24.7273321,41.1074989],[24.7261379,41.1072001],[24.725673,41.107158],[24.7265081,41.1076977],[24.7268556,41.1078937],[24.7272065,41.1083194],[24.7273506,41.1084941],[24.72771,41.10869],[24.7268748,41.1085512],[24.7262762,41.1082667],[24.726038,41.1082682],[24.7257695,41.1083555],[24.7250361,41.1088105],[24.7250248,41.1088646],[24.725156,41.1088818],[24.7248608,41.1091179],[24.7243443,41.1097967],[24.7242758,41.1100674],[24.724375,41.1104271],[24.7243109,41.111094],[24.7239734,41.1118168],[24.7239595,41.1120421],[24.7240808,41.1122395],[24.7243077,41.1122921],[24.7248708,41.1125948],[24.7249484,41.1131528],[24.7254409,41.1135281],[24.7252689,41.1141327],[24.7254877,41.1145367],[24.7260264,41.1147855],[24.7271973,41.1151114],[24.7280372,41.1156646],[24.7280153,41.1158449],[24.7275191,41.1162083],[24.7274617,41.1164069],[24.7283211,41.1176445],[24.7290043,41.1180275],[24.7291874,41.1184317],[24.7295823,41.1185914],[24.7295612,41.1188437],[24.7293161,41.1192957],[24.7293653,41.1194395],[24.7303099,41.1197578],[24.730407,41.1199193],[24.7304463,41.1202434],[24.7306389,41.1204223],[24.7310574,41.1205638],[24.7313549,41.1205439],[24.7314865,41.1205881],[24.7319244,41.121405],[24.7329084,41.1220563],[24.7332437,41.1222163],[24.7339007,41.1223743],[24.734153,41.1225708],[24.7350213,41.1224572],[24.7349317,41.1229622],[24.7350187,41.123286],[24.7358078,41.1235512],[24.7364763,41.123673],[24.7374562,41.123946],[24.7383819,41.1246967],[24.7390993,41.1249353],[24.7393271,41.125069],[24.7379386,41.1251409],[24.7376244,41.1251429],[24.7375063,41.1252338],[24.7372268,41.1258031],[24.7372539,41.1260911],[24.7376645,41.126593],[24.7383857,41.1271648],[24.7386726,41.1272531],[24.7391851,41.1272768],[24.7393525,41.1273298],[24.7396934,41.1279852],[24.7397478,41.1285793],[24.7403127,41.1290261],[24.7410311,41.1293458],[24.7410816,41.1295977],[24.7414917,41.1300454],[24.7415897,41.130288],[24.7415563,41.1304954],[24.7413209,41.1307491],[24.7414284,41.1307755],[24.7412754,41.1309386],[24.7413863,41.1312622],[24.7413549,41.1316497],[24.7414886,41.131883],[24.7408221,41.1332745],[24.7404224,41.1338176],[24.7402719,41.1342059],[24.7405776,41.1349065],[24.7403069,41.1351965],[24.7400739,41.1356664],[24.7399552,41.1359059],[24.7395406,41.1361248],[24.7395788,41.1362776],[24.7396192,41.1366917],[24.7394708,41.1372692],[24.7395562,41.1374488],[24.7394862,41.1375754],[24.7397366,41.1375918],[24.7398569,41.1376991],[24.7399817,41.1382027],[24.7398541,41.1385098],[24.7395252,41.1389263],[24.7392536,41.1391442],[24.7392788,41.1392702],[24.7389964,41.1395873],[24.7386874,41.1396613]]},{"id":17383,"author":"AnaDigit","name_GR":"Nestos-Rodopi Trails: 01 \u039e\u03ac\u03bd\u03b8\u03b7-\u039a\u03c1\u03c9\u03bc\u03bd\u03b9\u03ba\u03cc","description_GR":"\u039e\u03ac\u03bd\u03b8\u03b7-\u039a\u03c1\u03c9\u03bc\u03bd\u03b9\u03ba\u03cc","path":"THRACE\/Thrace_Nestos_Vouna_Xanthis_Xanthi_Kromniko","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":18981,"name_EN":"Nestos-Rodopi Trails: 01 Xanthi-Kromniko","description_EN":"Xanthi-Kromniko","ascent_time":470,"descent_time":450,"marker":"No_marks","level":9,"ascent":1182,"descent":745,"maxelev":1021,"minelev":76,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.73884 41.13354,24.88801 41.15357)","views":86,"millestones":"0,24.8880949,41.1397504#1,24.8844448,41.1461226#2,24.8772169,41.1459561#3,24.8735193,41.1402566#4,24.8694490,41.1341290#5,24.8619011,41.1372245#6,24.8545469,41.1421575#7,24.8474234,41.1466634#8,24.8392020,41.1503983#9,24.8286725,41.1518199#10,24.8179064,41.1511841#11,24.8082395,41.1527385#12,24.8006462,41.1477272#13,24.7949006,41.1454190#14,24.7839788,41.1472492#15,24.7735162,41.1456651#16,24.7637897,41.1430733#17,24.7540660,41.1434891#18,24.7444920,41.1423457#19.0,24.7386874,41.1396613","x":24.8303362,"y":41.1516256,"coor":[[24.8880949,41.1397504],[24.8876105,41.1397226],[24.8874822,41.1399307],[24.8872846,41.1403016],[24.8872781,41.140698],[24.8872628,41.1413331],[24.8872605,41.141716],[24.8874523,41.1418541],[24.8873825,41.1419808],[24.8872672,41.1422159],[24.8871352,41.142307],[24.8867861,41.1427105],[24.8863406,41.1432544],[24.8863824,41.1437045],[24.8863542,41.1442046],[24.8861331,41.1446027],[24.8860523,41.1447429],[24.8849627,41.1443549],[24.8848599,41.14468],[24.8846551,41.1446861],[24.8843492,41.1449767],[24.8844703,41.1451199],[24.8844737,41.1452054],[24.8848689,41.1453555],[24.8846207,41.1456727],[24.884585,41.1459477],[24.8844673,41.1460567],[24.8844121,41.1462193],[24.8842268,41.1461216],[24.8840402,41.1461996],[24.8839561,41.1463174],[24.8835031,41.1464695],[24.8829324,41.1465639],[24.8827563,41.1467634],[24.8824956,41.1468735],[24.8823796,41.1471086],[24.8818969,41.1475447],[24.8817655,41.1475277],[24.8816086,41.1473757],[24.8815797,41.1469976],[24.8813633,41.1468552],[24.8809827,41.1469121],[24.8800927,41.1471892],[24.879747,41.1471828],[24.8796792,41.1465708],[24.8798904,41.146317],[24.8799468,41.1460823],[24.8798617,41.1459569],[24.879646,41.1458684],[24.8792888,41.1458892],[24.8779766,41.1466739],[24.8776799,41.1467662],[24.8775783,41.1462986],[24.8770592,41.1457981],[24.8768575,41.1449709],[24.8765771,41.1444956],[24.8764677,41.1443884],[24.8757011,41.1440879],[24.8750167,41.1436968],[24.8748696,41.1433916],[24.8745064,41.142962],[24.8741802,41.1427888],[24.8735098,41.1425597],[24.8735041,41.1424652],[24.8737902,41.142472],[24.8742872,41.142153],[24.8744486,41.1419716],[24.8747432,41.1416136],[24.8748923,41.1412836],[24.8743548,41.1411886],[24.8740625,41.1411593],[24.874033,41.1407902],[24.874206,41.1402484],[24.8743718,41.140058],[24.874205,41.1400593],[24.8740284,41.1402228],[24.8736122,41.14028],[24.8730503,41.1401401],[24.8728936,41.1400062],[24.8729391,41.1398437],[24.8730038,41.1397216],[24.872501,41.1395452],[24.8728302,41.1393266],[24.8730431,41.1392079],[24.8729222,41.1391322],[24.8729209,41.1390331],[24.8732151,41.1387517],[24.8734045,41.1386601],[24.8735546,41.1382987],[24.8740514,41.1380247],[24.8740261,41.1379168],[24.8738989,41.1379223],[24.8736594,41.137834],[24.8730281,41.1371227],[24.873025,41.1368885],[24.8728541,41.1365745],[24.8728007,41.1361425],[24.8723656,41.1356774],[24.8723004,41.1354212],[24.8711504,41.1349525],[24.8703717,41.1345755],[24.8701777,41.1344869],[24.8696065,41.134203],[24.8694844,41.1341454],[24.8686182,41.133742],[24.8676615,41.1336952],[24.8675804,41.1342678],[24.8667339,41.1342201],[24.8657561,41.1341599],[24.8647545,41.1340954],[24.8646773,41.1346229],[24.8646051,41.1351369],[24.8637793,41.1350845],[24.8636549,41.135135],[24.8634804,41.1354606],[24.8636728,41.1358735],[24.863585,41.1361084],[24.8633152,41.1364347],[24.8631136,41.1365083],[24.8627546,41.1363848],[24.8627328,41.1365381],[24.8625543,41.1365575],[24.8623179,41.1367034],[24.8621785,41.1369747],[24.8619904,41.1370526],[24.8618451,41.137333],[24.8618826,41.1374678],[24.8619564,41.1376474],[24.8617801,41.1378289],[24.8613278,41.1378683],[24.8607461,41.1380258],[24.860095,41.1383549],[24.8594176,41.1384861],[24.8589467,41.138922],[24.8589023,41.1391745],[24.8588198,41.1392472],[24.8585827,41.1393391],[24.8581535,41.1393152],[24.8577908,41.1398314],[24.8576246,41.1398777],[24.8573014,41.139763],[24.8569099,41.139892],[24.8568535,41.1401356],[24.8564749,41.1403456],[24.8556034,41.1411358],[24.8555252,41.1415327],[24.8555885,41.1418205],[24.8555299,41.141893],[24.8550793,41.1420675],[24.8545946,41.1423593],[24.8544633,41.1423423],[24.8545817,41.1422873],[24.8546037,41.142143],[24.854378,41.1421988],[24.8541627,41.1421373],[24.8537947,41.1422391],[24.8535132,41.1425835],[24.8533464,41.1425847],[24.8530737,41.1426949],[24.8528987,41.1429844],[24.8525182,41.1430413],[24.8522222,41.1431876],[24.8521163,41.1432965],[24.8520364,41.1435673],[24.851725,41.1434435],[24.8513838,41.143437],[24.8513124,41.1434465],[24.8511438,41.1433036],[24.8506812,41.1434692],[24.850538,41.1434522],[24.8504078,41.1435253],[24.8499558,41.1435827],[24.8490204,41.144049],[24.8484501,41.1441793],[24.8480829,41.1443441],[24.8480861,41.1445963],[24.847896,41.1446427],[24.8476596,41.1447886],[24.8477703,41.145058],[24.8476537,41.1452571],[24.8476911,41.1453829],[24.8481095,41.1454879],[24.8481586,41.1455956],[24.8479357,41.1458675],[24.8475574,41.1461045],[24.8475509,41.1465279],[24.8473628,41.1467275],[24.8468778,41.1470013],[24.8467839,41.1471191],[24.8467387,41.1473086],[24.8468279,41.1477583],[24.8467105,41.1478943],[24.846437,41.1479413],[24.8457804,41.1478471],[24.8453762,41.1479221],[24.8449229,41.1478894],[24.8445816,41.1482252],[24.8441312,41.1484086],[24.843682,41.1487002],[24.842828,41.1490127],[24.84251,41.1493033],[24.8422969,41.1494129],[24.8416301,41.1494538],[24.8408408,41.1492434],[24.8401965,41.149176],[24.8399346,41.149205],[24.8398997,41.1492683],[24.8400464,41.1495555],[24.8401131,41.1501135],[24.8399251,41.150322],[24.8396999,41.1504227],[24.8393903,41.150443],[24.8391752,41.1503905],[24.8384045,41.1507024],[24.8377342,41.1504731],[24.8371137,41.1504055],[24.8367334,41.1504894],[24.8363266,41.1503662],[24.8360901,41.150512],[24.8360244,41.1509629],[24.8350539,41.1514924],[24.8346132,41.1515136],[24.8340158,41.1513918],[24.8338358,41.1512941],[24.833371,41.1512974],[24.8331925,41.1513167],[24.832588,41.1515733],[24.8320995,41.1515858],[24.8314189,41.1514827],[24.8307777,41.1516675],[24.8303362,41.1516256],[24.8297672,41.1518639],[24.8288481,41.1517534],[24.828682,41.1518087],[24.8284119,41.1521259],[24.8276169,41.1524018],[24.8274023,41.1523944],[24.8268638,41.1522181],[24.8261246,41.1521963],[24.8253446,41.1517696],[24.8249876,41.1518082],[24.8239304,41.152086],[24.8230052,41.1524349],[24.8223974,41.1524392],[24.821033,41.1519715],[24.8206516,41.1519742],[24.8204477,41.1518676],[24.8198512,41.1518178],[24.8193232,41.1515243],[24.8187866,41.1515011],[24.8185704,41.1513675],[24.8183918,41.1513778],[24.8180209,41.1512633],[24.8176964,41.1510404],[24.8170622,41.1508287],[24.8168236,41.1508124],[24.8164169,41.1506892],[24.8161791,41.1507359],[24.8155929,41.1505509],[24.8154859,41.1505697],[24.8153922,41.1507055],[24.8152664,41.1511297],[24.8148511,41.1512768],[24.8144963,41.1514955],[24.8143418,41.1515326],[24.8131259,41.1515052],[24.8126622,41.1515985],[24.8122829,41.1517633],[24.8118703,41.1521265],[24.8119582,41.1524862],[24.8118761,41.1525949],[24.8115179,41.1525434],[24.8113872,41.1525713],[24.8113384,41.1524816],[24.8111605,41.1525549],[24.8107787,41.1525216],[24.8100364,41.1522385],[24.8098107,41.1523032],[24.8094204,41.1525401],[24.8076719,41.1528226],[24.8073418,41.1531132],[24.8071867,41.1530963],[24.8062291,41.1527607],[24.8060129,41.1526181],[24.8059513,41.1524564],[24.805161,41.1521556],[24.8048708,41.1518063],[24.804632,41.151772],[24.8044807,41.1510975],[24.8046074,41.1507363],[24.8045467,41.1506466],[24.8043192,41.1505581],[24.8040425,41.1503439],[24.8036383,41.1494459],[24.8034697,41.1493029],[24.8033346,41.1489796],[24.8030094,41.1486936],[24.8026132,41.1484532],[24.8021361,41.1484205],[24.801872,41.1482602],[24.8013938,41.1481374],[24.8009245,41.1477623],[24.8003964,41.1476984],[24.8000423,41.1473676],[24.7998187,41.147225],[24.7997931,41.1470811],[24.7996265,41.1471003],[24.7996022,41.1470644],[24.7996485,41.146956],[24.7998847,41.1467742],[24.7998693,41.146486],[24.7999741,41.1462871],[24.7997572,41.1460905],[24.7996802,41.1456406],[24.7994972,41.1452906],[24.7987957,41.1444307],[24.7981463,41.1439488],[24.7977071,41.1437762],[24.7971418,41.143654],[24.796996,41.1434208],[24.7968991,41.1437863],[24.7970105,41.1441278],[24.7970018,41.1443891],[24.7966851,41.1448056],[24.7965462,41.1451489],[24.796345,41.1452584],[24.7955111,41.1452821],[24.7945367,41.1455051],[24.7942026,41.1454713],[24.793929,41.1455092],[24.7936898,41.1454388],[24.7932021,41.1455143],[24.7930232,41.1454975],[24.792763,41.1456614],[24.7922513,41.145719],[24.7915753,41.1459848],[24.7913031,41.1461489],[24.7904472,41.1463169],[24.7901158,41.1465083],[24.789226,41.1468387],[24.7886183,41.1468429],[24.7883929,41.1469255],[24.7877735,41.1469477],[24.787572,41.1470392],[24.7874503,41.1468238],[24.7868319,41.1469361],[24.7864485,41.1467586],[24.7851752,41.1469114],[24.7849734,41.1469758],[24.7849267,41.1470572],[24.7844149,41.1471058],[24.7839638,41.147253],[24.7836185,41.1472733],[24.783144,41.1474567],[24.7828342,41.1474588],[24.7827256,41.1473514],[24.7823563,41.147354],[24.7820475,41.1474461],[24.7814393,41.1474052],[24.7805369,41.1476816],[24.7799879,41.1476132],[24.7792857,41.14769],[24.7772596,41.1476677],[24.7768165,41.1474815],[24.7764222,41.1473941],[24.7761835,41.1473597],[24.7758026,41.1473983],[24.7756943,41.1473089],[24.7756081,41.1470753],[24.7752008,41.1468979],[24.7749695,41.1464761],[24.7745614,41.1462266],[24.7742717,41.1459133],[24.7728959,41.1454541],[24.7722752,41.1453682],[24.7715099,41.1451391],[24.7710804,41.1450294],[24.7708543,41.1447427],[24.7706669,41.1443836],[24.7704699,41.1438445],[24.7696536,41.1433275],[24.7686149,41.1431542],[24.7683634,41.1430478],[24.7681824,41.1428508],[24.7677663,41.1429347],[24.7676244,41.1430257],[24.7675041,41.1429274],[24.7670866,41.1428942],[24.7668111,41.1427699],[24.7666442,41.142762],[24.7662533,41.1429628],[24.7656333,41.1429309],[24.7651707,41.1431141],[24.7649206,41.1431248],[24.7646357,41.1432167],[24.7644308,41.1430199],[24.7641321,41.1429499],[24.7631829,41.1432984],[24.7628282,41.143544],[24.7626162,41.1438156],[24.7627036,41.1439096],[24.762304,41.1438042],[24.7620667,41.1438328],[24.7616528,41.1441058],[24.7612695,41.1439371],[24.7611598,41.1437217],[24.7609597,41.1438041],[24.7608638,41.1437597],[24.7606857,41.1438149],[24.7598687,41.1442617],[24.7595759,41.1440564],[24.7594093,41.1438188],[24.7593591,41.143603],[24.7592636,41.143455],[24.7589638,41.1432948],[24.7584155,41.1432804],[24.7580827,41.1433546],[24.7569631,41.143398],[24.7566293,41.1433822],[24.756521,41.1432928],[24.7563663,41.1433119],[24.7561627,41.1432231],[24.7557108,41.1432982],[24.7554723,41.1432817],[24.7546882,41.143485],[24.7531272,41.1434907],[24.7527219,41.1434754],[24.7523277,41.1433879],[24.7516012,41.1434196],[24.7511795,41.143017],[24.7510378,41.143126],[24.7509344,41.143469],[24.7506033,41.1433],[24.7495317,41.1433701],[24.7492466,41.143453],[24.7492599,41.14357],[24.7490458,41.1436074],[24.748833,41.1437529],[24.7483097,41.1438464],[24.7474056,41.1439784],[24.7461424,41.1439686],[24.7454491,41.1437749],[24.7451853,41.1436325],[24.7449078,41.143328],[24.7447953,41.1429279],[24.7444785,41.1423174],[24.7441709,41.1414546],[24.7435623,41.1403236],[24.7429375,41.1398592],[24.742039,41.1394326],[24.7418219,41.1391998],[24.7412032,41.1392758],[24.7411539,41.139132],[24.7408415,41.1388998],[24.7408263,41.1386117],[24.7399133,41.1388022],[24.7396645,41.1389299],[24.7392788,41.1392702],[24.7389964,41.1395873],[24.7386874,41.1396613]]},{"id":17385,"author":"AnaDigit","name_GR":"Nestos-Rodopi Trails: 05 \u039a\u03b1\u03c1\u03c5\u03cc\u03c6\u03c5\u03c4\u03bf-\u039b\u03b5\u03b9\u03b2\u03b1\u03b4\u03af\u03c4\u03b7\u03c2","description_GR":"\u039a\u03b1\u03c1\u03c5\u03cc\u03c6\u03c5\u03c4\u03bf-\u039b\u03b5\u03b9\u03b2\u03b1\u03b4\u03af\u03c4\u03b7\u03c2","path":"THRACE\/Thrace_Nestos_Vouna_Xanthis_Karyofyto_Livaditis","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":9904,"name_EN":"Nestos-Rodopi Trails: 05 Karyofyto-Erymanthos Forest Village","description_EN":"Karyofyto-Livaditis","ascent_time":255,"descent_time":220,"marker":"No_marks","level":9,"ascent":874,"descent":145,"maxelev":1279,"minelev":499,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.65169 41.25829,24.67471 41.30996)","views":38,"millestones":"0,24.6730072,41.2582953#1,24.6729050,41.2659701#2,24.6675684,41.2729827#3,24.6629457,41.2802212#4,24.6658677,41.2858343#5,24.6630524,41.2935080#6,24.6560399,41.2987487#7,24.6527685,41.3034532#8,24.6594750,41.3087568#9,24.6648643,41.3060991#9.9,24.6708961,41.3042286","x":24.6649984,"y":41.2914675,"coor":[[24.6730072,41.2582953],[24.6732805,41.2585324],[24.6733177,41.2586673],[24.6734049,41.2589505],[24.6736576,41.2591472],[24.673457,41.259234],[24.6733899,41.2596667],[24.6734874,41.2598643],[24.6733956,41.2602252],[24.673378,41.2608378],[24.6732497,41.2611313],[24.6732907,41.2612707],[24.6736803,41.2614306],[24.67388,41.2618437],[24.6742286,41.2620759],[24.6742961,41.2624718],[24.674719,41.2631089],[24.6747659,41.2634599],[24.6746978,41.2634468],[24.6745626,41.2634251],[24.6744202,41.263516],[24.6741387,41.2639951],[24.6739844,41.264086],[24.6739874,41.2643743],[24.6737924,41.2651501],[24.6733913,41.2656208],[24.6730956,41.2658838],[24.6729643,41.2658845],[24.6728209,41.2660925],[24.6729563,41.2664881],[24.6727085,41.2667778],[24.6726417,41.2672466],[24.6723353,41.2676357],[24.6716214,41.2678741],[24.6712315,41.2682727],[24.6711055,41.2687868],[24.6709158,41.2689141],[24.6707865,41.269113],[24.6708008,41.2693471],[24.6705398,41.2695108],[24.6704113,41.2697817],[24.6704276,41.270214],[24.6702977,41.2703499],[24.6704178,41.2704212],[24.6697291,41.2707856],[24.6692175,41.2709597],[24.6689785,41.270943],[24.6684084,41.2712346],[24.6681934,41.271443],[24.6677919,41.2718777],[24.6676468,41.2728694],[24.667435,41.2731769],[24.6671903,41.2737728],[24.6668982,41.2741844],[24.6668889,41.2744366],[24.6666662,41.2748433],[24.6666568,41.2750955],[24.666525,41.2751954],[24.6663552,41.275381],[24.6660935,41.2754726],[24.6658936,41.27578],[24.6656931,41.2759523],[24.6656351,41.2761148],[24.6653392,41.2763777],[24.6651427,41.2770094],[24.6651595,41.2774867],[24.66471,41.2779037],[24.6644871,41.2783013],[24.6642015,41.278393],[24.6639423,41.2787368],[24.6637523,41.278846],[24.6636711,41.2790807],[24.6635398,41.2790814],[24.6635088,41.279559],[24.6633909,41.2797128],[24.6634172,41.2799469],[24.6635267,41.2801444],[24.6633712,41.2801273],[24.6632652,41.280272],[24.6632522,41.280164],[24.6631211,41.2801918],[24.6629682,41.2801206],[24.6627473,41.2810812],[24.6626626,41.2811943],[24.6627565,41.2813243],[24.6627877,41.2820538],[24.6626161,41.2827934],[24.6627742,41.2830807],[24.662878,41.2838908],[24.6625209,41.28401],[24.6623293,41.283957],[24.6619238,41.2840044],[24.6617698,41.2841314],[24.6616404,41.2843933],[24.6615899,41.2848665],[24.6617585,41.2850097],[24.662737,41.284932],[24.6634895,41.2849457],[24.6639442,41.2850421],[24.6644718,41.2852553],[24.6650905,41.2856165],[24.6653412,41.2856061],[24.6654619,41.2857315],[24.665869,41.2858372],[24.6660251,41.286003],[24.6664565,41.2861446],[24.6667195,41.2863142],[24.6659717,41.2867689],[24.6658681,41.2871478],[24.665702,41.2872569],[24.6658139,41.2876886],[24.6657234,41.2881845],[24.6658078,41.2884138],[24.6657212,41.289288],[24.6657623,41.2895129],[24.6656011,41.2896625],[24.6655094,41.2900414],[24.6651582,41.290737],[24.6651734,41.2910612],[24.6649984,41.2914675],[24.6645738,41.2919924],[24.6642065,41.2922828],[24.6639709,41.2926084],[24.6633311,41.2931165],[24.6632619,41.2933511],[24.663072,41.2934783],[24.6628721,41.2937857],[24.6628387,41.2940201],[24.6629751,41.2945238],[24.6627042,41.2948946],[24.6622898,41.2952573],[24.6620836,41.2961232],[24.6618821,41.2962775],[24.6616114,41.2966754],[24.660694,41.2968969],[24.6595842,41.2969933],[24.6594421,41.2971202],[24.6589423,41.2973033],[24.6586469,41.2976202],[24.6581462,41.2977132],[24.6579209,41.2978766],[24.6576827,41.29795],[24.6575166,41.298059],[24.6576248,41.2981305],[24.6579225,41.2980387],[24.6567701,41.2986488],[24.6563761,41.2986691],[24.655685,41.2988351],[24.6551734,41.2990362],[24.6545044,41.299022],[24.6544435,41.2991349],[24.6543424,41.2993202],[24.6542337,41.2992037],[24.6539467,41.2991693],[24.6534174,41.298794],[24.6529617,41.2986074],[24.6527807,41.2984283],[24.652363,41.2984667],[24.6520786,41.2986845],[24.652023,41.2990991],[24.6517258,41.2992449],[24.6515852,41.299516],[24.6516495,41.299984],[24.6520876,41.3007922],[24.6520539,41.3010086],[24.6516299,41.3016055],[24.6516584,41.3020737],[24.6520194,41.3023419],[24.6522387,41.302773],[24.6532554,41.3041004],[24.6539747,41.3043665],[24.6541288,41.3042396],[24.6542482,41.3042389],[24.6545128,41.3044175],[24.6555896,41.3045915],[24.6558143,41.3048155],[24.6558748,41.3048872],[24.6563424,41.3050647],[24.6570601,41.3051596],[24.6572646,41.3053026],[24.6574283,41.3055449],[24.6579818,41.305866],[24.6582333,41.3059366],[24.6587987,41.3063297],[24.6580798,41.3073021],[24.6583702,41.3076698],[24.6585216,41.307723],[24.6584877,41.3077727],[24.6586358,41.3079385],[24.658603,41.3082449],[24.6587113,41.3083254],[24.6587856,41.3085862],[24.6590023,41.3087471],[24.6596117,41.3087616],[24.6597214,41.3089772],[24.6601168,41.309101],[24.6600457,41.3091555],[24.6603114,41.3094422],[24.6605748,41.3094947],[24.6607809,41.3096512],[24.6610925,41.3098926],[24.6616996,41.3099071],[24.6621767,41.3098323],[24.6624877,41.3098665],[24.6629411,41.3098099],[24.6633211,41.3095915],[24.6638109,41.3095887],[24.6639989,41.3092814],[24.6642369,41.3091899],[24.6646069,41.3091517],[24.6648664,41.308826],[24.6651281,41.3087164],[24.6652808,41.3084633],[24.6655897,41.3082993],[24.6656378,41.3083261],[24.6658047,41.308145],[24.6664451,41.3076909],[24.6665288,41.3074742],[24.665537,41.3064891],[24.6651281,41.3062213],[24.664516,41.3059365],[24.6643229,41.3057395],[24.664297,41.3055505],[24.6644391,41.3054236],[24.6653442,41.3051481],[24.6654572,41.3051024],[24.6656734,41.3050021],[24.6663412,41.3048901],[24.6667412,41.3052391],[24.6667864,41.305419],[24.6682916,41.3054283],[24.6684351,41.3054455],[24.668807,41.3049434],[24.6689659,41.3047083],[24.6693381,41.3041701],[24.6694948,41.303944],[24.6705253,41.3042533],[24.6708961,41.3042286]]}],{"extent":[24.65169,41.09307,24.88801,41.33251],"advPath":"http:\/\/www.topoguide.gr\/adventure.php?l=el&ul=1&a=","style":{"default":{"color":"#ff612f","width":5,"action":{"type":"redirect"},"sort":{"type":"byname"}},"PELOPONNESE\/Pelop_Abeliona_Trail_1":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"PELOPONNESE\/Pelop_Abeliona_Trail_2":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"PELOPONNESE\/Pelop_Abeliona_Trail_1c":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"PELOPONNESE\/Pelop_Abeliona_Trail_1a":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"PELOPONNESE\/Pelop_Abeliona_Trail_1b":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"Car_touring\/CAR_Rodos_Attavyros_Loop":{"url":null,"color":"#ff612f","width":3,"exclude":true,"useStyle":false},"MTB_ROADBIKE\/MTB_Rodos_Attavyros_summit":{"url":null,"color":"#ff612f","width":3,"exclude":true,"useStyle":false},"MTB_ROADBIKE\/MTB_Rodos_36km_Lindos_Loop":{"url":null,"color":"#ff612f","width":3,"exclude":true,"useStyle":false},"MTB_ROADBIKE\/MTB_Rodos_Kattavia_Skiadeni_loop":{"url":null,"color":"#ff612f","width":3,"exclude":true,"useStyle":false},"Car_touring\/CAR_Rodos_Lindos_Sport":{"url":null,"color":"#ff612f","width":3,"exclude":true,"useStyle":false},"MACEDONIA\/Makedonia_Falakro_refuge_Chionotripa":{"url":null,"color":"#bb0707","width":6,"exclude":false,"useStyle":true},"MACEDONIA\/Makedonia_Falakro_refuge_ProfitisIlias":{"url":null,"color":"#b11f0b","width":6,"exclude":false,"useStyle":true},"Peloponnese\/Pelop_Menalon_Trail_Lousios":{"url":"Menalon_Trail_Lousios.php","color":"#ffee2f","width":6,"exclude":false,"useStyle":true},"Peloponnese\/Pelop_Menalon_Trail_Dimitsana_Zygovisti":{"url":null,"color":"#248036","width":6,"exclude":false,"useStyle":true},"Peloponnese\/Pelop_Menalon_Trail_Zygovisti_Elati":{"url":null,"color":"#2fd5ff","width":6,"exclude":false,"useStyle":true},"Peloponnese\/Pelop_Menalon_Trail_Vytina_Nymfasia":{"url":null,"color":"#108b1a","width":6,"exclude":false,"useStyle":true},"Peloponnese\/Pelop_Menalon_Trail_Valtesiniko_Lagadia":{"url":null,"color":"#fbfb00","width":6,"exclude":false,"useStyle":true},"Peloponnese\/Pelop_Menalon_Trail_Magouliana_Valtesiniko":{"url":null,"color":"#e70404","width":6,"exclude":false,"useStyle":true},"PELOPONNESE\/Pelop_Menalon_Stemnitsa_Elliniko":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"PELOPONNESE\/Pelop_Menalon_Stemnitsa_Skemna_loop":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"PELOPONNESE\/Pelop_Menalon_Stemnitsa_loop2":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"PELOPONNESE\/Pelop_Menalon_Stemnitsa_loop1":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"PELOPONNESE\/Pelop_Arkadia_Valtesiniko_Loop":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"PELOPONNESE\/Pelop_Magouliana_Kamari_valley":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"PELOPONNESE\/Pelop_Magouliana_Short_loop":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"Peloponnese\/Pelop_Gortynia_Dimitsana_Radou":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"Peloponnese\/Pelop_Gortynia_Lasta_Valtesiniko":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"Peloponnese\/Pelop_Gortynia_Vytina_Lasta":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"ISLANDS\/Islands_Santorini_Path_1":{"url":null,"color":"#ec0a0a","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_9":{"url":null,"color":"#f60606","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_10":{"url":null,"color":"#2ffff7","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_11":{"url":null,"color":"#2fb4ff","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_12":{"url":null,"color":"#069f24","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_13":{"url":null,"color":"#f60404","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Merovigli_Skaros":{"url":null,"color":"#2fd5ff","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Oia_Amoudi":{"url":null,"color":"#2fffff","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_2":{"url":null,"color":"#06b12f","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_3":{"url":null,"color":"#2fd5ff","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_4":{"url":null,"color":"#f4ff00","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_5":{"url":null,"color":"#04b427","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_6":{"url":null,"color":"#ff2fd5","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_7":{"url":null,"color":"#2abc0e","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_8":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_Koukouli_Dilofo":{"url":null,"color":"#ff0909","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_Vikos_Elafotopos":{"url":null,"color":"#ff0909","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_AnoPedina_Monodendri":{"url":null,"color":"#0dcb15","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_AKlidonia_Papigo":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"Ipiros\/Ipiros_Zagori_AstrakaRef_Gamila":{"url":null,"color":"#0ba611","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Astraka_Drakolimni":{"url":null,"color":"#2facff","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Konitsa_Astraka":{"url":null,"color":"#ff0909","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Konitsa_Stomio_Ast":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"Ipiros\/Ipiros_Zagori_O31_Astraka_Vrisoc":{"url":null,"color":"#ff0909","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_O31_Papigo_Astraka":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"Ipiros\/Ipiros_Zagori_Voidomatis_bridges":{"url":null,"color":"#0ba611","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_Stouros":{"url":null,"color":"#f3e907","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_Vradeto_Beloi":{"url":null,"color":"#f3e907","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_Kapesovo_Kipi":{"url":null,"color":"#2ffff7","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_KKlidonia_AKlidonia":{"url":null,"color":"#f3e907","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_Monodentri_Vitsa":{"url":null,"color":"#2fffee","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_Elafotopos_AnoPedina":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"IPIROS\/Ipiros_Zagori_Skala_Vradetou":{"url":null,"color":"#e91c13","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Vradeto_Astraka":{"url":null,"color":"#2fffb4","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Vitsa_Koukouli":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"Ipiros\/Ipiros_Zagori_Tsepelovo_Astraka":{"url":null,"color":"#fbf100","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Papigo_Vikos":{"url":null,"color":"#2fffb4","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Papigo_Loop":{"url":null,"color":"#f50000","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Monodendri_Vikos":{"url":null,"color":"#2f37ff","width":6,"exclude":false,"useStyle":true},"MTB_ROADBIKE\/MTB_Pelop_Lagadia_loop1":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"SUV_4X4\/SUV_Pelop_Lagadia_Arvitsa":{"url":null,"color":"#0bbd13","width":6,"exclude":false,"useStyle":true},"SUV_4X4\/SUV_Pelop_Lagadia_Servou_loop_2":{"url":null,"color":"#ffee2f","width":6,"exclude":false,"useStyle":true},"SUV_4X4\/SUV_Pelop_Lagadia_Servou_loop_1":{"url":null,"color":"#ffc52f","width":6,"exclude":false,"useStyle":true},"SUV_4X4\/SUV_Pelop_Lagadia_Servou_loop_3":{"url":null,"color":"#2fff8b","width":6,"exclude":false,"useStyle":true},"SUV_4X4\/SUV_Pelop_Lagadia_Keresova":{"url":null,"color":"#f40404","width":6,"exclude":false,"useStyle":true},"ATTIKI\/Attiki_Imittos_Sfittia_Odos":{"url":null,"color":"#34bb0a","width":3,"exclude":false,"useStyle":true},"ATTIKI\/Attiki_Imittos_Papagou_Trail_2":{"url":null,"color":"#0a820a","width":6,"exclude":false,"useStyle":true},"Attiki\/Attiki_Imittos_Trail10":{"url":null,"color":"#2f40ff","width":4,"exclude":false,"useStyle":true},"Attiki\/Attiki_Imittos_Katechaki_GlykaNera":{"url":null,"color":"#ffd82f","width":3,"exclude":false,"useStyle":true},"Attiki\/Attiki_Imittos_Ilioupoli_Sfittos":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"Attiki\/Attiki_Imittos_Kareas_Michailidis":{"url":null,"color":"#ffd82f","width":4,"exclude":false,"useStyle":true},"Attiki\/Attiki_Imittos_Katechaki_Summit":{"url":null,"color":"#ffd82f","width":4,"exclude":false,"useStyle":true},"Attiki\/Attiki_Imittos_Taxiarches_sum_road":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MTB_Roadbike\/MTB_Imittos_Anthousa_tower":{"url":null,"color":"#2f3dff","width":6,"exclude":false,"useStyle":true},"MTB_Roadbike\/MTB_Imittos_Liondari_cave":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MTB_Roadbike\/MTB_Imittos_Megalos_Kiklos":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kesariani_loop1":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kesariani_loop2":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kesariani_Kareas":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kesariani_Quarries":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Korakovouni_loop":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Papagou_Asteriou":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kareas_loop1":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kareas_loop2":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kareas_loop3":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Sfittos_OmvriosZefs":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kesariani_Kalopoula":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Sfittos_roman_quarry":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_PrfIlias_Terpsithea":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Koutalas_Kareas":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kareas_loop4":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Ilioupoli_PrfIlias":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Ilioupoli_Mnimeio_Michailidi":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kalopoula_loop":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MTB_ROADBIKE\/MTB_Imittos_Gyros_Imittou":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MTB_ROADBIKE\/MTB_Imittos_Mikros_Kiklos":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MTB_ROADBIKE\/MTB_Imittos_Kesariani_Kalopoula_loop":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MTB_ROADBIKE\/MTB_Imittos_Kesariani_Hard_loop":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MOUNTAIN_RUNNING\/MountRun_Imittos_Anthousa_training":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MOUNTAIN_RUNNING\/MountRun_Imittos_Oreinos_Agonas_Imittou":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Trail10_short_version":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Koutalas_loop":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Kythnos_Trail_1":{"url":null,"color":"#1d7a10","width":5,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_2":{"url":null,"color":"#2f50ff","width":5,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_3":{"url":null,"color":"#eb0707","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_4":{"url":null,"color":"#f72fff","width":5,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_5":{"url":null,"color":"#13930e","width":5,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_6":{"url":null,"color":"#2ff7ff","width":5,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_6a":{"url":null,"color":"#2ff7ff","width":5,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_6b":{"url":null,"color":"#2ff7ff","width":5,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_7":{"url":null,"color":"#ffff2f","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_8":{"url":null,"color":"#e110d0","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_9":{"url":null,"color":"#51be14","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Chora_loop1":{"url":null,"color":"#2fcdff","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Chora_loop2":{"url":null,"color":"#ffc52f","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Dryopis_Zogaki":{"url":null,"color":"#11a2b6","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Dryopis_Kanala":{"url":null,"color":"#ffad00","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Dryopis_Kanala2":{"url":null,"color":"#22d112","width":5,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_AgNikolaos_Poria":{"url":null,"color":"#1f9306","width":5,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Tromarisa_Poria":{"url":null,"color":"#ff2f2f","width":5,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Tromarisa_gorge":{"url":null,"color":"#ca2fff","width":5,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Zourva_Tromarisa":{"url":null,"color":"#3aff2f","width":6,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Meskla_Zourva":{"url":null,"color":"#85ff2f","width":6,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Zourva_Kambia":{"url":null,"color":"#fff42f","width":6,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Theriso_Kambia":{"url":null,"color":"#ffc22f","width":6,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Theriso_loop_1":{"url":null,"color":"#2ffaff","width":7,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Theriso_loop_2":{"url":null,"color":"#2fa6ff","width":4,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Theriso_Tembla":{"url":null,"color":"#b12fff","width":5,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_AgKyriaki_Tembla":{"url":null,"color":"#2f64ff","width":5,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Kambia_1":{"url":null,"color":"#ff2fd0","width":5,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Kambia_2":{"url":null,"color":"#2fff98","width":5,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Theriso_Zourva":{"url":null,"color":"#2fbfff","width":5,"exclude":false,"useStyle":true}}}); function getPoiCollection(key,data,meta){ this.key = key; this.data = data; this.item = []; //this.meta = meta; this.gsMap = null; this.features = [] ; //this.lineFeatures = [] ; var self = this; //console.log(data); this.source = new ol.source.Vector({wrapX: false, noWrap: true}); this.layer = new ol.layer.Vector({ source: this.source, //clusterSource visible:true }); this.registerMap = function(gsMap){ this.gsMap = gsMap; this.gsMap.map.addLayer(this.layer); this.createFeatures(); } this.createFeatures = function(){ this.features=[]; for(var i in this.data){ //console.log(this.data[i]); var newItem = this.getItem(this.data[i]); newItem.style = this.getIconStyle(newItem); var f = this.gsMap.feature_from_coor(this.data[i].x,this.data[i].y,this.pointMsp(newItem)); //var s = this.gsMap.pointStyle("#ff0000", [0, 0, 0, 0.5], 1, 5, "");//this.adventureIconPointStyle(this.data[i].activity_type,this.data[i].difficulty);//this.gsMap.pointStyle("#ff0000", [0, 0, 0, 0.5], 0, 5, ""); f.setStyle(newItem.style); f.show = function () { var div = document.getElementById("myModal"); div.innerHTML = ''; setTimeout(function () { $('#myModal').modal('show'); }, 200); } newItem.feature = f; this.item.push(newItem); this.features.push(f); } this.source.addFeatures(this.features); this.gsMap.registerOnZoomChangedFunction(function(){self.refresh();}); this.refresh(); } this.zoomTo = function(){ this.gsMap.map.getView().fit( this.gsMap.ll2xy(this.meta.extent), this.gsMap.map.getSize()); } this.pointMsp = function(item){ return { width:item.width, height:item.height, photoPath:item.photoPath, name:item.name, description:item.description, parent:this, click:[function(s,f,l){ var div = document.getElementById("myModal"); var self = f.get('msp'); //#34b0ff div.innerHTML = ''; setTimeout(function () { $('#myModal').modal('show'); }, 200); }]}; } this.poiIconPointStyle = function(activity_type,difficulty){ var iconpath = 'https://anadigit.fr/TopoMedia/Icons/activity_adv_loc/activity_' + activity_type + '_' + difficulty + '_adv_loc.png'; return new ol.style.Style({ image: new ol.style.Icon({ src: iconpath, //size: [liconsize, liconsize] scale:0.5 })/*, stroke: new ol.style.Stroke({ color: (s_color ) ,width: 1+is301 + (map3.getZoom()-8) }) */}) } this.getIconStyle = function(myItem) { var icon_size = this.pop_info_adjust_size(myItem.type, this.gsMap.getZoom() - myItem.zoom_level) var icon_size_set = this.pop_info_adjust_size(myItem.type, this.gsMap.getZoom() - myItem.zoom_level) * icon_size / 100; var is = (icon_size > 0) ? icon_size : 9; var icon_index = myItem.icon_index; if (wpt_icon.anch_fraction_x[icon_index] >= 0) { var anch_x = wpt_icon.anch_fraction_x[icon_index]; var anch_y = wpt_icon.anch_fraction_y[icon_index]; } else { var anch_x = 0.5; var anch_y = 0.5; } if (wpt_icon.scale[icon_index] >= 0) { var scale = wpt_icon.scale[icon_index]; } else { if (icon_size_set > 0) { var scale = icon_size_set; } else { var scale = 0.3; } } scale = 0.2; var MarkerIcon = wpt_icon.url_s[icon_index]; var iconStyle = new ol.style.Style({ image: new ol.style.Icon(({ anchor: [anch_x, anch_y], anchorXUnits: 'fraction', anchorYUnits: 'fraction', //anchorYUnits: 'pixels', opacity: 0.95, src: MarkerIcon, scale: scale })) }); return iconStyle; } this.getItem = function (dat){ var type = dat.type * 1;//[3]*1; var icon = map_point_collection.get(type); var icon_index = icon.iconindex; var img_path = icon.path; return { image: dat.photo, name: dat.name, description: dat.description, link_en: dat.hlink_EN, type: dat.type * 1, dbid: dat.id, hlink: dat.hlink_GR, zoom_level: dat.zoom_level, width: dat.width * 1, height: dat.height * 1, owner: dat.owner, icon_index: icon_index, photoPath: img_path + dat.photo + '.jpg', thumb_path: img_path + 'thumbs/' + dat.photo + '.jpg', //tmpim:add_image(pop_info_tmp, fp.attributes.thumb_path,-230,3,-1,-1,null), path: (dat.type * 1 == 1) ? img_path + dat.photo + '.jpg' : "" } } this.pop_info_adjust_size = function(type, dl) { if (dl < 0) dl = 0; var new_size = 9 + (1.5 * dl); return new_size * 0.2; } this.refresh = function () { try { this.source.clear(); } catch (err) { } var zoom = this.gsMap.getZoom(); for (var i = 0; i < this.item.length; i++) { if (zoom >= this.item[i].zoom_level) this.source.addFeatures([this.item[i].feature]); } } this.getImagetItem = function(path,width,height){ /* PARADOXES - OLES OI EIKONES PIANOYN TO MEGISTO PLATOS - AN TO YPSOS EINEI MEGALYTERO TOY DIAUESIMOY H EIKONA KOVETAI KATV */ var minAvailableWidth =568; //APO BOOTSTRAP, http://www.topoguide.gr/css/bootstrap.css, 5489, var maxAvailableHeight = browser.size()[1]-250; var style = "",divStyle = ""; if(height>maxAvailableHeight){ var ratio = width/height; var renderWidth = maxAvailableHeight*ratio; var renderHeight = maxAvailableHeight; if(minAvailableWidth/ratio>maxAvailableHeight) divStyle += "height:" + renderHeight + "px;"; divStyle += "width:100%;"; style += "width:100%;"; } else{ if(width'; } } var img_path = 'https://anadigit.fr/TopoMedia/map_points/img'; var map_point_collection = { 0 :{iconindex:14,path:img_path + "/Landscape/"}, 1 :{iconindex:17,path:img_path + "/Flora/"}, 2 :{iconindex:18,path:img_path + "/Animals/"}, 3 :{iconindex:19,path:img_path + "/Books/"}, 4 :{iconindex:20,path:img_path + "/Maps/"}, 5 :{iconindex:21,path:img_path + "/Apps/"}, 6 :{iconindex:22,path:img_path + "/Mushrooms/"}, 7 :{iconindex:23,path:img_path + "/Animals/"}, 8 :{iconindex:24,path:img_path + "/Animals/"}, 9 :{iconindex:25,path:img_path + "/Architecture/"}, 10:{iconindex:26,path:img_path + "/Monuments/"}, 447:{iconindex:38,path:img_path + "/Refuges/"}, 450:{iconindex:41,path:img_path + "/Signposts/"}, 71:{iconindex:36,path:img_path + "/Geology/"}, 72:{iconindex:34,path:img_path + "/Geology/"}, 73:{iconindex:35,path:img_path + "/Geology/"}, 204:{iconindex:27,path:img_path + "/logos/"}, 206:{iconindex:28,path:img_path + "/logos/"}, 200:{iconindex:29,path:img_path + "/logos/"}, 201:{iconindex:30,path:img_path + "/logos/"}, 205:{iconindex:31,path:img_path + "/logos/"}, 202:{iconindex:32,path:img_path + "/logos/"}, 203:{iconindex:33,path:img_path + "/logos/"}, 301:{iconindex:42,path:img_path + "/Beach/"}, 1001:{iconindex:42,path:img_path + "/Water/"}, default: {iconindex:28,path:""} } map_point_collection.get = function(key){ return this[key] || this.default; } function wpt_icon_class(){ this.count=0; this.url = new Array(); this.url_s = new Array(); this.cx = new Array(); this.cy = new Array(); this.scx = new Array(); this.scy = new Array(); this.ix = new Array(); this.iy = new Array(); this.anch_fraction_x = new Array(); this.anch_fraction_y = new Array(); this.scale = new Array(); this.inwptwindow = new Array(); this.add = function(url,url_s,cx,cy,ix,iy,scx,scy,anch_fraction_x, anch_fraction_y,scale,inwptwindow){ this.count+=1; this.url[this.count]="https://anadigit.fr/TopoMedia/" + url; this.url_s[this.count]="https://anadigit.fr/TopoMedia/" + url_s; this.cx[this.count]=cx; this.cy[this.count]=cy; this.scx[this.count]=scx; //kentro simeiou gia xarti this.scy[this.count]=scy; this.ix[this.count]=ix; //offset sto icon list this.iy[this.count]=iy; this.anch_fraction_x[this.count]=anch_fraction_x; //offset sto icon list this.anch_fraction_y[this.count]=anch_fraction_y; this.scale[this.count]=scale; this.inwptwindow[this.count]=inwptwindow; } } var wpt_icon = new wpt_icon_class(); wpt_icon.add("Icons/WPT/pin_blue.png","Icons/WPT/pin_blue_s.png",28,35,-15,10,1,18,0.0,1.0,1.0,true); wpt_icon.add("Icons/WPT/pin_green.png","Icons/WPT/pin_green_s.png",28,35,-15,10,1,18,0.0,1.0,1.0,true); wpt_icon.add("Icons/WPT/pin_red.png","Icons/WPT/pin_red_s.png",28,35,-15,10,1,18,0.0,1.0,1.0,true); wpt_icon.add("Icons/WPT/star_blue.png","Icons/WPT/star_blue_s.png",24,24,5,8,11,11,0.5,0.5,1.0,true); wpt_icon.add("Icons/WPT/star_green.png","Icons/WPT/star_green_s.png",24,24,5,8,11,11,0.5,0.5,1.0,true); wpt_icon.add("Icons/WPT/star_red.png","Icons/WPT/star_red_s.png",24,24,5,8,11,11,0.5,0.5,1.0,true); wpt_icon.add("Icons/WPT/lmk_red.png","Icons/WPT/lmk_red_s.png",32,32,-3,0,11,11,0.5,0.5,1.0,true); wpt_icon.add("Icons/WPT/house_blue.png","Icons/WPT/house_blue_s.png",32,32,5,8,11,11,0.5,0.5,1.0,true);; wpt_icon.add("Icons/WPT/house_red.png","Icons/WPT/house_red_s.png",32,32,5,8,11,11,0.5,0.5,1.0,true); wpt_icon.add("Icons/WPT/monastery_red.png","Icons/WPT/monastery_red_s.png",32,32,5,8,11,16,0.5,0.5,1.0,true); wpt_icon.add("Icons/WPT/church_red.png","Icons/WPT/church_red_s.png",32,32,5,8,11,16,0.5,0.5,1.0,true); wpt_icon.add("Icons/WPT/anchor_blue.png","Icons/WPT/anchor_blue_s.png",32,32,5,8,11,11,0.5,0.5,1.0,true); wpt_icon.add("Icons/WPT/anchor_red.png","Icons/WPT/anchor_red_s.png",32,32,5,8,11,11,0.5,0.5,1.0,true); //photo_points wpt_icon.add("Icons/WPT/landscape.png","Icons/WPT/landscape.png",28,28,5,8,16,16); wpt_icon.add("img/NAV_START.png","img/NAV_START.png",32*1.5,42,-5,-48,11,11,0.5,1.0,0.6,true); wpt_icon.add("img/NAV_END.png","img/NAV_END.png",32*1.5,162,-5,-28,11,11,0.5,1.0,0.6,true); wpt_icon.add("Icons/WPT/flora.png","Icons/WPT/flora.png",28,28,5,8,16,16); wpt_icon.add("Icons/WPT/bird.png","Icons/WPT/bird.png",28,28,5,8,16,16); wpt_icon.add("Icons/WPT/book.png","Icons/WPT/book.png",28,28,5,8,16,16); wpt_icon.add("Icons/WPT/map.png","Icons/WPT/map.png",28,28,5,8,16,16); wpt_icon.add("Icons/WPT/iphone.png","Icons/WPT/iphone.png",28,28,5,8,16,16); wpt_icon.add("Icons/WPT/mushroom.png","Icons/WPT/mushroom.png",28,28,5,8,16,16); wpt_icon.add("Icons/WPT/mammal.png","Icons/WPT/mammal.png",28,28,5,8,16,16); wpt_icon.add("Icons/WPT/turtle.png","Icons/WPT/turtle.png",30,30,5,8,16,16); wpt_icon.add("Icons/WPT/architecture.png","Icons/WPT/architecture.png",28,28,5,8,16,16); wpt_icon.add("Icons/WPT/monument.png","Icons/WPT/monument.png",28,28,5,8,16,16); // pop_info wpt_icon.add("pop_info/Icons/pop_info_1.png","pop_info/Icons/pop_info_1.png",32,32,5,8,32,32,0.5,1); // iconindex= 27 wpt_icon.add("pop_info/Icons/pop_info_2.png","pop_info/Icons/pop_info_2.png",32,32,5,8,32,32,0.5,1); // iconindex= 28 wpt_icon.add("pop_info/Icons/pop_info_3.png","pop_info/Icons/pop_info_3.png",32,32,5,8,32,32); // iconindex= 29 wpt_icon.add("pop_info/Icons/pop_info_4.png","pop_info/Icons/pop_info_4.png",32,32,5,8,32,32,0.5,1); // iconindex= 30 wpt_icon.add("pop_info/Icons/pop_info_5.png","pop_info/Icons/pop_info_5.png",32,32,5,8,32,32); // iconindex= 31 wpt_icon.add("pop_info/Icons/pop_info_6.png","pop_info/Icons/pop_info_6.png",32,32,5,8,32,32); // iconindex= 32 wpt_icon.add("pop_info/Icons/pop_info_7.png","pop_info/Icons/pop_info_7.png",32,32,5,8,32,32); // iconindex= 33 wpt_icon.add("pop_info/Icons/pop_info_101.png","pop_info/Icons/pop_info_101.png",32,32,5,8,32,32,0.5,0.5); // iconindex= 34 wpt_icon.add("pop_info/Icons/pop_info_102.png","pop_info/Icons/pop_info_102.png",32,32,5,8,32,32); // iconindex= 35 wpt_icon.add("pop_info/Icons/pop_info_103.png","pop_info/Icons/pop_info_103.png",32,32,5,8,32,32); // iconindex= 36 wpt_icon.add("Icons/WPT/POI_446_icon.png","Icons/WPT/POI_446_icon.png",32,32,5,8,32,32); // iconindex= 37 wpt_icon.add("Icons/WPT/POI_447_icon.png","Icons/WPT/POI_447_icon.png",32,32,5,8,32,32); // iconindex= 38 wpt_icon.add("Icons/WPT/POI_448_icon.png","Icons/WPT/POI_448_icon.png",32,32,5,8,32,32); // iconindex= 39 wpt_icon.add("Icons/WPT/POI_449_icon.png","Icons/WPT/POI_449_icon.png",32,32,5,8,32,32); // iconindex= 40 wpt_icon.add("Icons/WPT/POI_450_icon.png","Icons/WPT/POI_450_icon.png",32,32,5,8,32,32); // iconindex= 41 wpt_icon.add("Icons/WPT/Fountain_blue.png","Icons/WPT/Fountain_blue.png",32,32,5,8,32,32); // iconindex= 42 console.log('poi signature up to date');var poiCollection_Nestos_Rodopi_Trails = new getPoiCollection("Nestos_Rodopi_Trails",[{"name":"\u039d\u0395\u03a3\u03a4\u039f\u03a3
\u03a4\u03b1 \u03a3\u03c4\u03b5\u03bd\u03ac","owner":"A. Bonetti","x":24.732977867129,"y":41.099658665207,"photo":"Nestos Narrows 02","type":0,"zoom_level":12,"id":230,"hlink_GR":"","hlink_EN":"","description":"","height":342,"width":512}],{});function createAdventureListWidgetContext(){};console.log('sort type: byname');function createAdventureListWidgetContext(){var divHere = (document.getElementById('pathList'))?true:false;var style = document.createElement('style');style.type = 'text/css';style.innerHTML = '.advListItemWidgetStyleMona{background:#f5f5f5;overflow:hidden;position:relative;width:100%;height:45px;border-bottom:1px solid #fff;margin:0px;} .advListItemWidgetStyle{background:#fdfdfd;overflow:hidden;position:relative;width:100%;height:45px;border-bottom:1px solid #fff;margin:0px;} .advListItemWidgetStyleMona:hover{background:#dcdcbc;} .advListItemWidgetStyle:hover{background:#dcdcbc;}';if(divHere) document.getElementsByTagName('head')[0].appendChild(style);if(divHere) {document.getElementById('pathList').innerHTML="
02 Στενά Νέστου
05 Καρυόφυτο-Λειβαδίτης
03 Κρωμνικό-Σταυρούπολη
06 Λειβαδίτης-Δασικό Χωριό Ερυμάνθου
04 Σταυρούπολη-Κάτω Καρυόφυτο
01 Ξάνθη-Κρωμνικό
";}else{console.log('adventure list widget activated but div missing. Requested id: pathList');};}; var overrideUserOptions = {lng:23,lat:38,zoom:7,ac:["Nestos_Rodopi_Trails"],pc:["Nestos_Rodopi_Trails"],url: 'https://m1.anadigit.fr/tms/1.0.0/ntn_combo/{z}/{x}/{-y}.png',showLogo: 1,showZoomTool: 1}; var overrideAfterLoad = function(map){ adventureCollection_Nestos_Rodopi_Trails.zoomTo();}; var gsMapManager = this.gsMapManager; gsMapManager.create = function(mapDivId,options,afterLoad){ if(typeof overrideUserOptions != "undefined") { for( var i in options) overrideUserOptions[i] = options[i]; options = overrideUserOptions; } if(typeof afterLoad != "undefined") { afterLoad = afterLoad }else{ if(typeof overrideAfterLoad != "undefined") afterLoad = overrideAfterLoad }; return gsMapManager.create_dummy_function(mapDivId,options,afterLoad); // return new gsMapObject(mapDivId,options,afterLoad); }