bradcornford / Googlmapper

An easy way to integrate Google Maps with Laravel
MIT License
464 stars 142 forks source link

Can't drag / move map around #359

Closed andreasbvillumsen closed 4 years ago

andreasbvillumsen commented 4 years ago

Hello.

First of all, I would like to say that I really like your package so far.

This is the first time I am using your package, so I am not sure if this is even possible with your package or not, but I have followed your start guide and installed the package in the latest laravel 7. When the map shows, everything is working except the drag / move feature. I get this hand grap icon, but clicking it is not closing the hand, and I cant move around in the map.

Can you please help me, if there is something else I should do?

bradcornford commented 4 years ago

Hi there,

Are you seeing any console errors? It should work out of the box. If all else fails, try dropping back a version, and report back.

andreasbvillumsen commented 4 years ago

I am sorry, but I ended up deleting the project. What I remember, there were no console errors. I followed the setup guide from you. Using laravel 7. I just used the google api in javascript, and it all worked fine there. It might have been an isolated issue. Thx again :)

StyxOfDynamite commented 4 years ago

Noticing the same issue, nothing logged to the console. but no interactivity on click / drag. UI controls for zoom work

StyxOfDynamite commented 4 years ago

Needed to enable

'gestureHandling' => 'auto',
bradcornford commented 4 years ago

Ah, that was added in a recent update. However it should be backwards compatible. Let me investigate.

bradcornford commented 4 years ago

Okay, the default was none, where as it should have been auto. This has been fixed in current version 3.3.1.