Rasmus Kaj
768fbd3bb4
Allow deeper zoom when placing image.
2018-09-08 15:07:27 +02:00
Rasmus Kaj
39126f2bc0
Improve presentation of places on a photo.
2018-09-06 13:52:06 +02:00
Rasmus Kaj
e74cbb0c3d
Nicer positioning by local storage
...
Use local storage to remember the last position set for a picture, and
use that as a starting point when positioning an image that does not
allreay have any known position.
2018-08-12 12:11:43 +02:00
Rasmus Kaj
4193a99d5b
Tighter cluster.
...
A smaller maxclusterradius (35, rather than the default 80)
allows a better view of where pictures are actually taken.
2018-08-12 11:29:17 +02:00
Rasmus Kaj
a9db221aac
Add photo previews to map markers.
2018-07-19 21:17:00 +02:00
Rasmus Kaj
df1c33c7ee
Add leaflet clustering.
...
Nice handling of maps with extreme numbers of photos.
2018-07-18 21:20:38 +02:00
Rasmus Kaj
fa08f8d3cc
Fix leaflet markers.
...
Sometimes the markers would not view, that was because the trick to
find the correct url for the marker images didn't work when the css
might load after the js. So just load the css before the js instead.
2018-07-15 22:46:56 +02:00
Rasmus Kaj
5222194c5c
Add admin ux to set image position.
2018-07-15 21:52:44 +02:00
Rasmus Kaj
fe7ca3b1cb
Use image size on details view.
2018-03-05 18:33:17 +01:00
Rasmus Kaj
498548e3dd
Don't let the map hide dropdowns.
2018-02-19 23:03:07 +01:00
Rasmus Kaj
025c142c15
Put admin forms before map.
2018-02-11 16:10:20 +01:00
Rasmus Kaj
5c4cefd3f6
Improve map scaling and rescaling.
2018-02-11 15:32:15 +01:00
Rasmus Kaj
25ad308992
DRYer map initialization.
2018-02-11 13:32:23 +01:00
Rasmus Kaj
bf017aeacd
Limit height of map.
...
It should not take more than 60% of browser height, this is
not primarily a map site.
2018-02-11 01:09:13 +01:00
Rasmus Kaj
f756411162
Disable scrollwWheelZoom on the map.
...
The map is on a page that might be scrolled. Having the scroll
wheel change action in mid-scroll is confusing and irritating.
2018-02-11 01:07:40 +01:00
Rasmus Kaj
59d26c5bce
Move source for statics to res directory.
2018-02-10 23:06:09 +01:00