Skip to content

Commit

Permalink
Make zoom btns appear in top left corner
Browse files Browse the repository at this point in the history
  • Loading branch information
aliciapaz committed Dec 19, 2024
1 parent 890f6c5 commit d18a2c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/javascript/controllers/places_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ export default class extends Controller {
mapTypeControlOptions: {
style: google.maps.MapTypeControlStyle.DROPDOWN_MENU,
position: google.maps.ControlPosition.TOP_CENTER
},
zoomControl: true,
zoomControlOptions: {
position: google.maps.ControlPosition.TOP_LEFT
}
})

Expand Down

0 comments on commit d18a2c3

Please sign in to comment.