(window.webpackJsonp=window.webpackJsonp||[]).push([[172],{398:function(e,t,n){"use strict";n.r(t);var a=n(30),o=n(3),r=n(2),w=n(11),s=n(21),c=n(15),i=n(48),d=n(10),l=n(9),g=n(19),u=n(5),m=n(4),f=new d.a({url:"data/geojson/switzerland.geojson",format:new a.a}),p=new w.c({fill:new s.a({color:"rgba(255, 255, 255, 0.6)"}),stroke:new c.a({color:"#319FD3",width:1}),image:new i.a({radius:5,fill:new s.a({color:"rgba(255, 255, 255, 0.6)"}),stroke:new c.a({color:"#319FD3",width:1})})}),b=new g.a({source:f,style:p}),k=new r.a({center:Object(m.g)([6.6339863,46.5193823]),padding:[170,50,30,150],zoom:6});new o.a({layers:[new u.a({source:new l.b}),b],target:"map",view:k});document.getElementById("zoomtoswitzerland").addEventListener("click",(function(){var e=f.getFeatures()[0].getGeometry();k.fit(e)}),!1),document.getElementById("centerlausanne").addEventListener("click",(function(){var e=f.getFeatures()[1].getGeometry();k.setCenter(e.getCoordinates())}),!1)}},[[398,0]]]); //# sourceMappingURL=view-padding.js.map