Commit graph

24 commits

Author SHA1 Message Date
Laura Klünder
182b50ef68 fix new error in locations_for_request 2017-12-20 18:24:13 +01:00
Laura Klünder
1d10563f5f hide locations on hidden levels/spaces 2017-12-20 18:16:58 +01:00
Laura Klünder
f785349141 better api output 2017-12-20 17:17:55 +01:00
Laura Klünder
4bde1e4e1b better custom location descriptions 2017-12-20 17:12:54 +01:00
Laura Klünder
032dcebcd0 determine altitude for custom locations 2017-12-18 01:42:43 +01:00
Laura Klünder
656ad49721 when a level, space or area is origin or destination, move marker 2017-12-17 03:39:36 +01:00
Laura Klünder
d979a298c2 better title and subtitle for custom locations 2017-12-16 19:46:32 +01:00
Laura Klünder
552c996fa7 fix customlocation display error when no space was found 2017-12-11 00:57:53 +01:00
Laura Klünder
48e1ecda36 replace request with permissions in CustomLocation so it can be serialized 2017-12-11 00:57:19 +01:00
Laura Klünder
eae73071c1 consider access restrictions when describing a custom location 2017-12-11 00:53:21 +01:00
Laura Klünder
2d4043861b describe custom locations by space 2017-12-10 18:09:31 +01:00
Laura Klünder
a7c140a2ac don't cast ugettext_lazy calls to str, as our json encoder is now clever 2017-11-30 01:10:49 +01:00
Laura Klünder
b92c871bc2 route from/to custom locations 2017-11-28 23:08:47 +01:00
Laura Klünder
eeae2d019b display coordinates details 2017-11-28 21:24:08 +01:00
Laura Klünder
ee20019417 fix data for level selector 2017-11-28 20:38:37 +01:00
Laura Klünder
3392226c44 allow more decimal digits in custom location id, but round them away 2017-11-28 20:25:52 +01:00
Laura Klünder
9b2b70f46f levels_by_short_label_for_request 2017-11-28 20:24:39 +01:00
Laura Klünder
dc46173668 custom locations are something that we want 2017-11-28 20:15:31 +01:00
Laura Klünder
dfe7d10574 it's _name_cache not name_cache 2017-11-27 15:39:42 +01:00
Laura Klünder
23e096b2b3 better space geometries so representative points never get places ind holes 2017-10-31 20:10:05 +01:00
Laura Klünder
fd74ca3258 calculate better representative point for geometries 2017-10-31 19:20:28 +01:00
Laura Klünder
94a23454a1 change short urls to not rely on doule slashes 2017-10-31 18:35:42 +01:00
Laura Klünder
6ae559e26a fix cache key for get_location_by_slug_for_request 2017-10-31 17:32:37 +01:00
Laura Klünder
620323b808 export entire location query logic into mapdata.utils.locations and cache 2017-10-31 15:22:12 +01:00