Commit Graph

10 Commits

Author SHA1 Message Date
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