Closed simonszu closed 7 years ago
Nevermind. Somehow my ansible playbook was messed up - i restarted the service manually and not via ansible, and everything's fine.
I am not really able to create a full pull request, since i have little to no knowledge to C, but maybe a environment variable called OTR_SCROLLWHEELONMAPS
with the default set to false - and then reading and parsing it like the OTR_BROWSERAPIKEY
.
Hmmm, to be honest, i can work through your code, and create an option for this - should be pretty straightforward, since it should work almost exactly like OTR_BROWSERAPIKEY
. Maybe someday when i have some spare time ;)
Deal -- I've assigned this to you. ;-)
Hi,
i have noticed some quirks with the Google Maps view. The first one: I have created and added a
OTR_BROWSERAPIKEY
to ot-recorder. However, when i open a Google Maps View and look at its source code, especially at static/apikey.js, it is empty:The second one: Mouse Wheel zooming isn't enabled on the Google Maps views. This is, because the setting is hardcoded in https://github.com/owntracks/recorder/blob/c1a1701c8df6d466bcb07932ef135b6811b26904/docroot/map/map_google.js#L31
This may be okay because Google Maps autozooms to fit the track/points, but feels weird, at least for me, because i use mouse wheel scrolling on Google Maps so intuitively, i am missing it on ot-recorder.