Skip to content

Commit

Permalink
test diff offset
Browse files Browse the repository at this point in the history
  • Loading branch information
solderq35 committed Sep 14, 2023
1 parent d6963f7 commit 9d31b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/map/map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ export default {
getResult ( searchResult ) {
console.log( searchResult.getBounds().getCenter() )
let searchLatLng = searchResult.getBounds().getCenter()
searchLatLng.lng = searchLatLng.lng - 0.005
searchLatLng.lng = searchLatLng.lng - 0.01
console.log( searchLatLng )
this.map.setView( L.latLng( searchLatLng ), 15.5 )
console.log( searchResult.feature.properties.name )
Expand Down

0 comments on commit 9d31b6a

Please sign in to comment.