Skip to content

Commit

Permalink
Please prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-morvan committed Apr 21, 2020
1 parent f15387d commit 413a264
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion c2cgeoform/static/src/controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ export function addGeolocation(map, options) {
position => {
const { latitude, longitude } = position.coords
map.getView().animate({
center: fromLonLat([longitude, latitude], map.getView().getProjection()),
center: fromLonLat(
[longitude, latitude],
map.getView().getProjection()
),
duration: 1500,
zoom: 18,
})
Expand Down

0 comments on commit 413a264

Please sign in to comment.