comparison client/src/application/Topbar.vue @ 1043:740679d6682f

linting
author Markus Kottlaender <markus@intevation.de>
date Thu, 25 Oct 2018 08:05:06 +0200
parents f786f6024ad1
children f8a4ec146d47
comparison
equal deleted inserted replaced
1042:f786f6024ad1 1043:740679d6682f
212 // DEBUG console.log("Moving to", resultEntry); 212 // DEBUG console.log("Moving to", resultEntry);
213 if (resultEntry.geom.type == "Point") { 213 if (resultEntry.geom.type == "Point") {
214 let view = this.openLayersMap.getView(); 214 let view = this.openLayersMap.getView();
215 view.animate( 215 view.animate(
216 { 216 {
217 zoom: resultEntry.type === 'bottleneck' ? 16 : 14, 217 zoom: resultEntry.type === "bottleneck" ? 16 : 14,
218 center: fromLonLat( 218 center: fromLonLat(
219 resultEntry.geom.coordinates, 219 resultEntry.geom.coordinates,
220 view.getProjection() 220 view.getProjection()
221 ) 221 )
222 }, 222 },