├── CNAME ├── tiles ├── 13 │ ├── 4947 │ │ ├── 2557.png │ │ ├── 2558.png │ │ ├── 2559.png │ │ ├── 2560.png │ │ └── 2561.png │ ├── 4948 │ │ ├── 2557.png │ │ ├── 2558.png │ │ ├── 2559.png │ │ ├── 2560.png │ │ └── 2561.png │ ├── 4949 │ │ ├── 2557.png │ │ ├── 2558.png │ │ ├── 2559.png │ │ ├── 2560.png │ │ └── 2561.png │ ├── 4950 │ │ ├── 2557.png │ │ ├── 2558.png │ │ ├── 2559.png │ │ ├── 2560.png │ │ └── 2561.png │ ├── 4951 │ │ ├── 2557.png │ │ ├── 2558.png │ │ ├── 2559.png │ │ ├── 2560.png │ │ └── 2561.png │ └── 4952 │ │ ├── 2557.png │ │ ├── 2558.png │ │ ├── 2559.png │ │ ├── 2560.png │ │ └── 2561.png └── metadata.json ├── index.html └── leaflet-routing-machine.min.js /CNAME: -------------------------------------------------------------------------------- 1 | mmm.osmz.ru 2 | -------------------------------------------------------------------------------- /tiles/13/4947/2557.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4947/2557.png -------------------------------------------------------------------------------- /tiles/13/4947/2558.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4947/2558.png -------------------------------------------------------------------------------- /tiles/13/4947/2559.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4947/2559.png -------------------------------------------------------------------------------- /tiles/13/4947/2560.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4947/2560.png -------------------------------------------------------------------------------- /tiles/13/4947/2561.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4947/2561.png -------------------------------------------------------------------------------- /tiles/13/4948/2557.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4948/2557.png -------------------------------------------------------------------------------- /tiles/13/4948/2558.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4948/2558.png -------------------------------------------------------------------------------- /tiles/13/4948/2559.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4948/2559.png -------------------------------------------------------------------------------- /tiles/13/4948/2560.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4948/2560.png -------------------------------------------------------------------------------- /tiles/13/4948/2561.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4948/2561.png -------------------------------------------------------------------------------- /tiles/13/4949/2557.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4949/2557.png -------------------------------------------------------------------------------- /tiles/13/4949/2558.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4949/2558.png -------------------------------------------------------------------------------- /tiles/13/4949/2559.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4949/2559.png -------------------------------------------------------------------------------- /tiles/13/4949/2560.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4949/2560.png -------------------------------------------------------------------------------- /tiles/13/4949/2561.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4949/2561.png -------------------------------------------------------------------------------- /tiles/13/4950/2557.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4950/2557.png -------------------------------------------------------------------------------- /tiles/13/4950/2558.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4950/2558.png -------------------------------------------------------------------------------- /tiles/13/4950/2559.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4950/2559.png -------------------------------------------------------------------------------- /tiles/13/4950/2560.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4950/2560.png -------------------------------------------------------------------------------- /tiles/13/4950/2561.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4950/2561.png -------------------------------------------------------------------------------- /tiles/13/4951/2557.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4951/2557.png -------------------------------------------------------------------------------- /tiles/13/4951/2558.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4951/2558.png -------------------------------------------------------------------------------- /tiles/13/4951/2559.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4951/2559.png -------------------------------------------------------------------------------- /tiles/13/4951/2560.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4951/2560.png -------------------------------------------------------------------------------- /tiles/13/4951/2561.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4951/2561.png -------------------------------------------------------------------------------- /tiles/13/4952/2557.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4952/2557.png -------------------------------------------------------------------------------- /tiles/13/4952/2558.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4952/2558.png -------------------------------------------------------------------------------- /tiles/13/4952/2559.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4952/2559.png -------------------------------------------------------------------------------- /tiles/13/4952/2560.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4952/2560.png -------------------------------------------------------------------------------- /tiles/13/4952/2561.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zverik/makingmapsmoscow/gh-pages/tiles/13/4952/2561.png -------------------------------------------------------------------------------- /tiles/metadata.json: -------------------------------------------------------------------------------- 1 | { 2 | "attribution": "", 3 | "description": "", 4 | "center": "37.5267,55.7988,13", 5 | "bounds": "37.4125,55.7476,37.6446,55.847", 6 | "minzoom": "13", 7 | "version": "1.0.0", 8 | "template": "", 9 | "maxzoom": "13", 10 | "name": "\u0427\u043e\u0440\u043d\u0430\u044f \u0421\u0445\u0435\u043c\u043e\u0442\u0435\u0445\u043d\u0438\u043a\u0430" 11 | } -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Схемотехника 5 | 6 | 7 | 8 | 9 | 21 | 22 | 23 |
24 |
25 |

Схемотехника

26 |
27 |
28 | Совместная встреча ГИС-Лаб и OpenStreetMap. Доклады, общение, пицца. 29 |

30 | В субботу, 6 февраля с 12 до 19. 31 |



32 | Участие бесплатно, регистрация обязательна, 33 | закрывается утром 5 февраля. 34 |

35 | Небольшие доклады сделают: 36 |
    37 |
  • Илья Зверев (про FOSDEM)
  • 38 |
  • Лев Драгунов (про дороги в Рим)
  • 39 |
40 | Если хотите тоже, напишите Илье Звереву своё имя и тему. 41 |
42 | 47 |
48 |
49 | 149 | 150 | -------------------------------------------------------------------------------- /leaflet-routing-machine.min.js: -------------------------------------------------------------------------------- 1 | /*! leaflet-routing-machine - v2.6.0 - 2015-12-20 */ 2 | 3 | !function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,(b.L||(b.L={})).Routing=a()}}(function(){return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g=200&&300>a||304===a}function e(){void 0===h.status||d(h.status)?b.call(h,null,h):b.call(h,h,null)}var f=!1;if("undefined"==typeof window.XMLHttpRequest)return b(Error("Browser not supported"));if("undefined"==typeof c){var g=a.match(/^\s*https?:\/\/[^\/]*/);c=g&&g[0]!==location.protocol+"//"+location.domain+(location.port?":"+location.port:"")}var h=new window.XMLHttpRequest;if(c&&!("withCredentials"in h)){h=new window.XDomainRequest;var i=b;b=function(){if(f)i.apply(this,arguments);else{var a=this,b=arguments;setTimeout(function(){i.apply(a,b)},0)}}}return"onload"in h?h.onload=e:h.onreadystatechange=function(){4===h.readyState&&e()},h.onerror=function(a){b.call(this,a||!0,null),b=function(){}},h.onprogress=function(){},h.ontimeout=function(a){b.call(this,a,null),b=function(){}},h.onabort=function(a){b.call(this,a,null),b=function(){}},h.open("GET",a,!0),h.send(null),f=!0,h}"undefined"!=typeof b&&(b.exports=d)},{}],2:[function(a,b,c){function d(a,b){a=Math.round(a*b),a<<=1,0>a&&(a=~a);for(var c="";a>=32;)c+=String.fromCharCode((32|31&a)+63),a>>=5;return c+=String.fromCharCode(a+63)}var e={};e.decode=function(a,b){for(var c,d,e=0,f=0,g=0,h=[],i=0,j=0,k=null,l=Math.pow(10,b||5);e=32);c=1&j?~(j>>1):j>>1,i=j=0;do k=a.charCodeAt(e++)-63,j|=(31&k)<=32);d=1&j?~(j>>1):j>>1,f+=c,g+=d,h.push([f/l,g/l])}return h},e.encode=function(a,b){if(!a.length)return"";for(var c=Math.pow(10,b||5),e=d(a[0][0],c)+d(a[0][1],c),f=1;f0&&this._select(1)},_createClickListener:function(a){var b=this._resultSelected(a);return L.bind(function(){this._elem.blur(),b()},this)},_resultSelected:function(a){return L.bind(function(){this.close(),this._elem.value=a.name,this._lastCompletedText=a.name,this._selectFn(a)},this)},_keyPressed:function(a){var b;return this._isOpen&&13===a.keyCode&&this._selection?(b=parseInt(this._selection.getAttribute("data-result-index"),10),this._resultSelected(this._results[b])(),void L.DomEvent.preventDefault(a)):13===a.keyCode?void this._complete(this._resultFn,!0):this._autocomplete&&document.activeElement===this._elem?(this._timer&&clearTimeout(this._timer),void(this._timer=setTimeout(L.Util.bind(function(){this._complete(this._autocomplete)},this),this.options.timeout))):void this._unselect()},_select:function(a){var b=this._selection;b&&(L.DomUtil.removeClass(b.firstChild,"leaflet-routing-geocoder-selected"),b=b[a>0?"nextSibling":"previousSibling"]),b||(b=this._resultTable[a>0?"firstChild":"lastChild"]),b&&(L.DomUtil.addClass(b.firstChild,"leaflet-routing-geocoder-selected"),this._selection=b)},_unselect:function(){this._selection&&L.DomUtil.removeClass(this._selection.firstChild,"leaflet-routing-geocoder-selected"),delete this._selection},_keyDown:function(a){if(this._isOpen)switch(a.keyCode){case 27:return this.close(),void L.DomEvent.preventDefault(a);case 38:return this._select(-1),void L.DomEvent.preventDefault(a);case 40:return this._select(1),void L.DomEvent.preventDefault(a)}},_complete:function(a,b){function c(a){this._lastCompletedText=d,b&&1===a.length?this._resultSelected(a[0])():this._setResults(a)}var d=this._elem.value;d&&(d!==this._lastCompletedText?a(d,c,this):b&&c.call(this,this._results))}})}()},{}],4:[function(a,b,c){(function(c){!function(){"use strict";var d="undefined"!=typeof window?window.L:"undefined"!=typeof c?c.L:null;d.Routing=d.Routing||{},d.extend(d.Routing,a("./L.Routing.Itinerary")),d.extend(d.Routing,a("./L.Routing.Line")),d.extend(d.Routing,a("./L.Routing.Plan")),d.extend(d.Routing,a("./L.Routing.OSRM")),d.extend(d.Routing,a("./L.Routing.ErrorControl")),d.Routing.Control=d.Routing.Itinerary.extend({options:{fitSelectedRoutes:"smart",routeLine:function(a,b){return d.Routing.line(a,b)},autoRoute:!0,routeWhileDragging:!1,routeDragInterval:500,waypointMode:"connect",useZoomParameter:!1,showAlternatives:!1},initialize:function(a){d.Util.setOptions(this,a),this._router=this.options.router||new d.Routing.OSRM(a),this._plan=this.options.plan||d.Routing.plan(this.options.waypoints,a),this._requestCount=0,d.Routing.Itinerary.prototype.initialize.call(this,a),this.on("routeselected",this._routeSelected,this),this._plan.on("waypointschanged",this._onWaypointsChanged,this),a.routeWhileDragging&&this._setupRouteDragging(),this.options.autoRoute&&this.route()},onAdd:function(a){var b=d.Routing.Itinerary.prototype.onAdd.call(this,a);return this._map=a,this._map.addLayer(this._plan),this.options.useZoomParameter&&this._map.on("zoomend",function(){this.route({callback:d.bind(this._updateLineCallback,this)})},this),this._plan.options.geocoder&&b.insertBefore(this._plan.createGeocoders(),b.firstChild),b},onRemove:function(a){return this._line&&a.removeLayer(this._line),a.removeLayer(this._plan),d.Routing.Itinerary.prototype.onRemove.call(this,a)},getWaypoints:function(){return this._plan.getWaypoints()},setWaypoints:function(a){return this._plan.setWaypoints(a),this},spliceWaypoints:function(){var a=this._plan.spliceWaypoints.apply(this._plan,arguments);return a},getPlan:function(){return this._plan},getRouter:function(){return this._router},_routeSelected:function(a){var b=a.route,c=this.options.showAlternatives&&a.alternatives,d=this.options.fitSelectedRoutes,e="smart"===d&&!this._waypointsVisible()||"smart"!==d&&d;this._updateLines({route:b,alternatives:c}),e&&this._map.fitBounds(this._line.getBounds()),"snap"===this.options.waypointMode&&(this._plan.off("waypointschanged",this._onWaypointsChanged,this),this.setWaypoints(b.waypoints),this._plan.on("waypointschanged",this._onWaypointsChanged,this))},_waypointsVisible:function(){var a,b,c,e,f,g=this.getWaypoints();try{for(a=this._map.getSize(),e=0;ea.x/5||c.y>a.y/5)&&this._waypointsInViewport()}catch(h){return!1}},_waypointsInViewport:function(){var a,b,c=this.getWaypoints();try{a=this._map.getBounds()}catch(d){return!1}for(b=0;b
"+a.message+"
=b,j=i?function(a){return a}:d.bind(this._round,this);return"imperial"===this.options.units?(e=a/.9144,f=e>=1e3?{value:j(a/1609.344,b),unit:h.miles}:{value:j(e,b),unit:h.yards}):(c=j(a,b),f={value:c>=1e3?c/1e3:c,unit:c>=1e3?h.kilometers:h.meters}),i&&(g=Math.pow(10,-b),f.value=Math.round(f.value*g)/g),d.Util.template(this.options.distanceTemplate,f)},_round:function(a,b){var c=b||this.options.roundingSensitivity,d=Math.pow(10,(Math.floor(a/c)+"").length-1),e=Math.floor(a/d),f=e>5?d:d/2;return Math.round(a/f)*f},formatTime:function(a){return a>86400?Math.round(a/3600)+" h":a>3600?Math.floor(a/3600)+" h "+Math.round(a%3600/60)+" min":a>300?Math.round(a/60)+" min":a>60?Math.floor(a/60)+" min"+(a%60!==0?" "+a%60+" s":""):a+" s"},formatInstruction:function(a,b){return void 0===a.text?d.Util.template(this._getInstructionTemplate(a,b),d.extend({exitStr:a.exit?d.Routing.Localization[this.options.language].formatOrder(a.exit):"",dir:d.Routing.Localization[this.options.language].directions[a.direction]},a)):a.text},getIconName:function(a,b){switch(a.type){case"Straight":return 0===b?"depart":"continue";case"SlightRight":return"bear-right";case"Right":return"turn-right";case"SharpRight":return"sharp-right";case"TurnAround":return"u-turn";case"SharpLeft":return"sharp-left";case"Left":return"turn-left";case"SlightLeft":return"bear-left";case"WaypointReached":return"via";case"Roundabout":return"enter-roundabout";case"DestinationReached":return"arrive"}},_getInstructionTemplate:function(a,b){var c="Straight"===a.type?0===b?"Head":"Continue":a.type,e=d.Routing.Localization[this.options.language].instructions[c];return e[0]+(e.length>1&&a.road?e[1]:"")}}),b.exports=d.Routing}()}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./L.Routing.Localization":11}],7:[function(a,b,c){(function(c){!function(){"use strict";function d(a){a.setSelectionRange?a.setSelectionRange(0,9999):a.select()}var e="undefined"!=typeof window?window.L:"undefined"!=typeof c?c.L:null;e.Routing=e.Routing||{},e.extend(e.Routing,a("./L.Routing.Autocomplete")),e.Routing.GeocoderElement=e.Class.extend({includes:e.Mixin.Events,options:{createGeocoder:function(a,b,c){var d=e.DomUtil.create("div","leaflet-routing-geocoder"),f=e.DomUtil.create("input","",d),g=c.addWaypoints?e.DomUtil.create("span","leaflet-routing-remove-waypoint",d):void 0;return f.disabled=!c.addWaypoints,{container:d,input:f,closeButton:g}},geocoderPlaceholder:function(a,b,c){var d=e.Routing.Localization[c.options.language].ui;return 0===a?d.startPlaceholder:b-1>a?e.Util.template(d.viaPlaceholder,{viaNumber:a}):d.endPlaceholder},geocoderClass:function(){return""},waypointNameFallback:function(a){var b=a.lat<0?"S":"N",c=a.lng<0?"W":"E",d=(Math.round(1e4*Math.abs(a.lat))/1e4).toString(),e=(Math.round(1e4*Math.abs(a.lng))/1e4).toString();return b+d+", "+c+e},maxGeocoderTolerance:200,autocompleteOptions:{},language:"en"},initialize:function(a,b,c,f){e.setOptions(this,f);var g=this.options.createGeocoder(b,c,this.options),h=g.closeButton,i=g.input;i.setAttribute("placeholder",this.options.geocoderPlaceholder(b,c,this)),i.className=this.options.geocoderClass(b,c),this._element=g,this._waypoint=a,this.update(),i.value=a.name,e.DomEvent.addListener(i,"click",function(){d(this)},i),h&&e.DomEvent.addListener(h,"click",function(){this.fire("delete",{waypoint:this._waypoint})},this),new e.Routing.Autocomplete(i,function(b){i.value=b.name,a.name=b.name,a.latLng=b.center,this.fire("geocoded",{waypoint:a,value:b})},this,e.extend({resultFn:this.options.geocoder.geocode,resultContext:this.options.geocoder,autocompleteFn:this.options.geocoder.suggest,autocompleteContext:this.options.geocoder},this.options.autocompleteOptions))},getContainer:function(){return this._element.container},setValue:function(a){this._element.input.value=a},update:function(a){var b,c=this._waypoint;c.name=c.name||"",!c.latLng||!a&&c.name||(b=this.options.waypointNameFallback(c.latLng),this.options.geocoder&&this.options.geocoder.reverse?this.options.geocoder.reverse(c.latLng,67108864,function(a){a.length>0&&a[0].center.distanceTo(c.latLng){name}

{distance}, {time}

",timeTemplate:"{time}",containerClassName:"",alternativeClassName:"",minimizedClassName:"",itineraryClassName:"",totalDistanceRoundingSensitivity:-1,show:!0,collapsible:void 0,collapseBtn:function(a){var b=d.DomUtil.create("span",a.options.collapseBtnClass);d.DomEvent.on(b,"click",a._toggle,a),a._container.insertBefore(b,a._container.firstChild)},collapseBtnClass:"leaflet-routing-collapse-btn"},initialize:function(a){d.setOptions(this,a),this._formatter=this.options.formatter||new d.Routing.Formatter(this.options),this._itineraryBuilder=this.options.itineraryBuilder||new d.Routing.ItineraryBuilder({containerClassName:this.options.itineraryClassName})},onAdd:function(a){var b=this.options.collapsible;return b=b||void 0===b&&a.getSize().x<=640,this._container=d.DomUtil.create("div","leaflet-routing-container leaflet-bar "+(this.options.show?"":"leaflet-routing-container-hide ")+(b?"leaflet-routing-collapsible ":"")+this.options.containerClassName),this._altContainer=this.createAlternativesContainer(),this._container.appendChild(this._altContainer),d.DomEvent.disableClickPropagation(this._container),d.DomEvent.addListener(this._container,"mousewheel",function(a){d.DomEvent.stopPropagation(a)}),b&&this.options.collapseBtn(this),this._container},onRemove:function(){},createAlternativesContainer:function(){return d.DomUtil.create("div","leaflet-routing-alternatives-container")},setAlternatives:function(a){var b,c,d;for(this._clearAlts(),this._routes=a,b=0;b0?" leaflet-routing-alt-minimized "+this.options.minimizedClassName:"")),e=this.options.summaryTemplate,f=d.extend({name:a.name,distance:this._formatter.formatDistance(a.summary.totalDistance,this.options.totalDistanceRoundingSensitivity),time:this._formatter.formatTime(a.summary.totalTime)},a);return c.innerHTML="function"==typeof e?e(f):d.Util.template(e,f),d.DomEvent.addListener(c,"click",this._onAltClicked,this),this.on("routeselected",this._selectAlt,this),c.appendChild(this._createItineraryContainer(a)),c},_clearAlts:function(){for(var a=this._altContainer;a&&a.firstChild;)a.removeChild(a.firstChild);this._altElements=[]},_createItineraryContainer:function(a){var b,c,d,e,f,g,h=this._itineraryBuilder.createContainer(),i=this._itineraryBuilder.createStepsContainer();for(h.appendChild(i),b=0;b=0;c--)d=a.distanceTo(this._route.coordinates[c]),e>d&&(b=c,e=d);return b},_extendToWaypoints:function(){var a,b,d,e=this._route.inputWaypoints,f=this._getWaypointIndices();for(a=0;athis.options.missingRouteTolerance&&this._addSegment([b,d],this.options.missingRouteStyles)},_addSegment:function(a,b,d){var e,f;for(e=0;e=0&&b[c]>a;)c--;return c},_onLineTouched:function(a){var b=this._findNearestWpBefore(this._findClosestRoutePoint(a.latlng));this.fire("linetouched",{afterIndex:b,latlng:a.latlng})},_getWaypointIndices:function(){return this._wpIndices||(this._wpIndices=this._route.waypointIndices||this._findWaypointIndices()),this._wpIndices}}),c.Routing.line=function(a,b){return new c.Routing.Line(a,b)},b.exports=c.Routing}()}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],11:[function(a,b,c){!function(){"use strict";L.Routing=L.Routing||{},L.Routing.Localization={en:{directions:{N:"north",NE:"northeast",E:"east",SE:"southeast",S:"south",SW:"southwest",W:"west",NW:"northwest"},instructions:{Head:["Head {dir}"," on {road}"],Continue:["Continue {dir}"," on {road}"],SlightRight:["Slight right"," onto {road}"],Right:["Right"," onto {road}"],SharpRight:["Sharp right"," onto {road}"],TurnAround:["Turn around"],SharpLeft:["Sharp left"," onto {road}"],Left:["Left"," onto {road}"],SlightLeft:["Slight left"," onto {road}"],WaypointReached:["Waypoint reached"],Roundabout:["Take the {exitStr} exit in the roundabout"," onto {road}"],DestinationReached:["Destination reached"]},formatOrder:function(a){var b=a%10-1,c=["st","nd","rd"];return c[b]?a+c[b]:a+"th"},ui:{startPlaceholder:"Start",viaPlaceholder:"Via {viaNumber}",endPlaceholder:"End"}},de:{directions:{N:"Norden",NE:"Nordosten",E:"Osten",SE:"Südosten",S:"Süden",SW:"Südwesten",W:"Westen",NW:"Nordwesten"},instructions:{Head:["Richtung {dir}"," auf {road}"],Continue:["Geradeaus Richtung {dir}"," auf {road}"],SlightRight:["Leicht rechts abbiegen"," auf {road}"],Right:["Rechts abbiegen"," auf {road}"],SharpRight:["Scharf rechts abbiegen"," auf {road}"],TurnAround:["Wenden"],SharpLeft:["Scharf links abbiegen"," auf {road}"],Left:["Links abbiegen"," auf {road}"],SlightLeft:["Leicht links abbiegen"," auf {road}"],WaypointReached:["Zwischenhalt erreicht"],Roundabout:["Nehmen Sie die {exitStr} Ausfahrt im Kreisverkehr"," auf {road}"],DestinationReached:["Sie haben ihr Ziel erreicht"]},formatOrder:function(a){return a+"."},ui:{startPlaceholder:"Start",viaPlaceholder:"Via {viaNumber}",endPlaceholder:"Ziel"}},sv:{directions:{N:"norr",NE:"nordost",E:"öst",SE:"sydost",S:"syd",SW:"sydväst",W:"väst",NW:"nordväst"},instructions:{Head:["Åk åt {dir}"," på {road}"],Continue:["Fortsätt {dir}"," på {road}"],SlightRight:["Svagt höger"," på {road}"],Right:["Sväng höger"," på {road}"],SharpRight:["Skarpt höger"," på {road}"],TurnAround:["Vänd"],SharpLeft:["Skarpt vänster"," på {road}"],Left:["Sväng vänster"," på {road}"],SlightLeft:["Svagt vänster"," på {road}"],WaypointReached:["Viapunkt nådd"],Roundabout:["Tag {exitStr} avfarten i rondellen"," till {road}"],DestinationReached:["Framme vid resans mål"]},formatOrder:function(a){return["första","andra","tredje","fjärde","femte","sjätte","sjunde","åttonde","nionde","tionde"][a-1]},ui:{startPlaceholder:"Från",viaPlaceholder:"Via {viaNumber}",endPlaceholder:"Till"}},sp:{directions:{N:"norte",NE:"noreste",E:"este",SE:"sureste",S:"sur",SW:"suroeste",W:"oeste",NW:"noroeste"},instructions:{Head:["Derecho {dir}"," sobre {road}"],Continue:["Continuar {dir}"," en {road}"],SlightRight:["Leve giro a la derecha"," sobre {road}"],Right:["Derecha"," sobre {road}"],SharpRight:["Giro pronunciado a la derecha"," sobre {road}"],TurnAround:["Dar vuelta"],SharpLeft:["Giro pronunciado a la izquierda"," sobre {road}"],Left:["Izquierda"," en {road}"],SlightLeft:["Leve giro a la izquierda"," en {road}"],WaypointReached:["Llegó a un punto del camino"],Roundabout:["Tomar {exitStr} salida en la rotonda"," en {road}"],DestinationReached:["Llegada a destino"]},formatOrder:function(a){return a+"º"},ui:{startPlaceholder:"Inicio",viaPlaceholder:"Via {viaNumber}",endPlaceholder:"Destino"}},nl:{directions:{N:"noordelijke",NE:"noordoostelijke",E:"oostelijke",SE:"zuidoostelijke",S:"zuidelijke",SW:"zuidewestelijke",W:"westelijke",NW:"noordwestelijke"},instructions:{Head:["Vertrek in {dir} richting"," de {road} op"],Continue:["Ga in {dir} richting"," de {road} op"],SlightRight:["Volg de weg naar rechts"," de {road} op"],Right:["Ga rechtsaf"," de {road} op"],SharpRight:["Ga scherpe bocht naar rechts"," de {road} op"],TurnAround:["Keer om"],SharpLeft:["Ga scherpe bocht naar links"," de {road} op"],Left:["Ga linksaf"," de {road} op"],SlightLeft:["Volg de weg naar links"," de {road} op"],WaypointReached:["Aangekomen bij tussenpunt"],Roundabout:["Neem de {exitStr} afslag op de rotonde"," de {road} op"],DestinationReached:["Aangekomen op eindpunt"]},formatOrder:function(a){return 1===a||a>=20?a+"ste":a+"de"},ui:{startPlaceholder:"Vertrekpunt",viaPlaceholder:"Via {viaNumber}",endPlaceholder:"Bestemming"}},fr:{directions:{N:"nord",NE:"nord-est",E:"est",SE:"sud-est",S:"sud",SW:"sud-ouest",W:"ouest",NW:"nord-ouest"},instructions:{Head:["Tout droit au {dir}"," sur {road}"],Continue:["Continuer au {dir}"," sur {road}"],SlightRight:["Légèrement à droite"," sur {road}"],Right:["A droite"," sur {road}"],SharpRight:["Complètement à droite"," sur {road}"],TurnAround:["Faire demi-tour"],SharpLeft:["Complètement à gauche"," sur {road}"],Left:["A gauche"," sur {road}"],SlightLeft:["Légèrement à gauche"," sur {road}"],WaypointReached:["Point d'étape atteint"],Roundabout:["Au rond-point, prenez la {exitStr} sortie"," sur {road}"],DestinationReached:["Destination atteinte"]},formatOrder:function(a){return a+"º"},ui:{startPlaceholder:"Départ",viaPlaceholder:"Intermédiaire {viaNumber}",endPlaceholder:"Arrivée"}},it:{directions:{N:"nord",NE:"nord-est",E:"est",SE:"sud-est",S:"sud",SW:"sud-ovest",W:"ovest",NW:"nord-ovest"},instructions:{Head:["Dritto verso {dir}"," su {road}"],Continue:["Continuare verso {dir}"," su {road}"],SlightRight:["Mantenere la destra"," su {road}"], 4 | Right:["A destra"," su {road}"],SharpRight:["Strettamente a destra"," su {road}"],TurnAround:["Fare inversione di marcia"],SharpLeft:["Strettamente a sinistra"," su {road}"],Left:["A sinistra"," sur {road}"],SlightLeft:["Mantenere la sinistra"," su {road}"],WaypointReached:["Punto di passaggio raggiunto"],Roundabout:["Alla rotonda, prendere la {exitStr} uscita"],DestinationReached:["Destinazione raggiunta"]},formatOrder:function(a){return a+"º"},ui:{startPlaceholder:"Partenza",viaPlaceholder:"Intermedia {viaNumber}",endPlaceholder:"Destinazione"}},pt:{directions:{N:"norte",NE:"nordeste",E:"leste",SE:"sudeste",S:"sul",SW:"sudoeste",W:"oeste",NW:"noroeste"},instructions:{Head:["Siga {dir}"," na {road}"],Continue:["Continue {dir}"," na {road}"],SlightRight:["Curva ligeira a direita"," na {road}"],Right:["Curva a direita"," na {road}"],SharpRight:["Curva fechada a direita"," na {road}"],TurnAround:["Retorne"],SharpLeft:["Curva fechada a esquerda"," na {road}"],Left:["Curva a esquerda"," na {road}"],SlightLeft:["Curva ligueira a esquerda"," na {road}"],WaypointReached:["Ponto de interesse atingido"],Roundabout:["Pegue a {exitStr} saída na rotatória"," na {road}"],DestinationReached:["Destino atingido"]},formatOrder:function(a){return a+"º"},ui:{startPlaceholder:"Origem",viaPlaceholder:"Intermédio {viaNumber}",endPlaceholder:"Destino"}}},b.exports=L.Routing}()},{}],12:[function(a,b,c){(function(c){!function(){"use strict";var d="undefined"!=typeof window?window.L:"undefined"!=typeof c?c.L:null,e=a("corslite"),f=a("polyline");d.Routing=d.Routing||{},d.extend(d.Routing,a("./L.Routing.Waypoint")),d.Routing.OSRM=d.Class.extend({options:{serviceUrl:"//router.project-osrm.org/viaroute",timeout:3e4,routingOptions:{}},initialize:function(a){d.Util.setOptions(this,a),this._hints={locations:{}}},route:function(a,b,c,f){var g,h,i,j,k=!1,l=[];for(g=this.buildRouteUrl(a,d.extend({},this.options.routingOptions,f)),h=setTimeout(function(){k=!0,b.call(c||b,{status:-1,message:"OSRM request timed out."})},this.options.timeout),j=0;j=0;b--)e[b]=d.latLng(c[b]);return e},_toWaypoints:function(a,b){var c,e=[];for(c=0;c=0;d--)c=b[d].latLng,this._hints.locations[this._locationKey(c)]=a.locations[d]},_convertSummary:function(a){return{totalDistance:a.total_distance,totalTime:a.total_time}},_convertInstructions:function(a){var b,c,d,e,f=[];for(b=0;b1?e[1]:void 0,index:c[3]});return f},_drivingDirectionType:function(a){switch(parseInt(a,10)){case 1:return"Straight";case 2:return"SlightRight";case 3:return"Right";case 4:return"SharpRight";case 5:return"TurnAround";case 6:return"SharpLeft";case 7:return"Left";case 8:return"SlightLeft";case 9:return"WaypointReached";case 10:return"Straight";case 11:case 12:return"Roundabout";case 15:return"DestinationReached";default:return null}},_clampIndices:function(a,b){var c,d=b.length-1;for(c=0;c0||this._waypoints.length>2?this.spliceWaypoints(a,1):this.spliceWaypoints(a,1,new d.Routing.Waypoint)},this).on("geocoded",function(b){this._updateMarkers(),this._fireChanged(),this._focusGeocoder(a+1),this.fire("waypointgeocoded",{waypointIndex:a,waypoint:b.waypoint})},this).on("reversegeocoded",function(b){this.fire("waypointgeocoded",{waypointIndex:a,waypoint:b.waypoint})},this),b},_updateGeocoders:function(){var a,b,c=[];for(a=0;a=0;a--)b=this._createGeocoder(a),this._geocoderContainer.insertBefore(b.getContainer(),this._geocoderContainer.firstChild),c.push(b);this._geocoderElems=c.reverse()},_removeMarkers:function(){var a;if(this._markers)for(a=0;a=2&&this.fire("waypointsspliced",{index:Array.prototype.shift.call(arguments),nRemoved:Array.prototype.shift.call(arguments),added:arguments})},_hookWaypointEvents:function(a,b,c){var e,f,g=function(a){return c?a.latlng:a.target.getLatLng()},h=d.bind(function(a){this.fire("waypointdragstart",{index:b,latlng:g(a)})},this),i=d.bind(function(a){this._waypoints[b].latLng=g(a),this.fire("waypointdrag",{index:b,latlng:g(a)})},this),j=d.bind(function(a){this._waypoints[b].latLng=g(a),this._waypoints[b].name="",this._geocoderElems&&this._geocoderElems[b].update(!0),this.fire("waypointdragend",{index:b,latlng:g(a)}),this._fireChanged()},this);c?(e=d.bind(function(a){this._markers[b].setLatLng(a.latlng),i(a)},this),f=d.bind(function(a){this._map.dragging.enable(),this._map.off("mouseup",f),this._map.off("mousemove",e),j(a)},this),this._map.dragging.disable(),this._map.on("mousemove",e),this._map.on("mouseup",f),h({latlng:this._waypoints[b].latLng})):(a.on("dragstart",h),a.on("drag",i),a.on("dragend",j))},dragNewWaypoint:function(a){var b=a.afterIndex+1;this.options.routeWhileDragging?(this.spliceWaypoints(b,0,a.latlng),this._hookWaypointEvents(this._markers[b],b,!0)):this._dragNewWaypoint(b,a.latlng)},_dragNewWaypoint:function(a,b){var c,e=new d.Routing.Waypoint(b),f=this._waypoints[a-1],g=this._waypoints[a],h=this.options.createMarker(a,e,this._waypoints.length+1),i=[],j=d.bind(function(a){var b;for(h&&h.setLatLng(a.latlng),b=0;b