Commit Graph

18 Commits

Author SHA1 Message Date
Andy Balaam
25cd1a8a43 Show an error dialog if we fail to send location (#7528) 2022-01-13 13:23:00 +00:00
Andy Balaam
f81120f35f Set the default zoom level for location to 15, matching iOS and Android (#7524) 2022-01-12 14:55:52 +01:00
Andy Balaam
11c8e720b2 Add user avatar to location sharing dialog (#7520) 2022-01-12 13:32:08 +00:00
Andy Balaam
31247a50ca Make LocationPicker appearance cleaner (#7516) 2022-01-12 09:19:26 +00:00
Andy Balaam
9562deb28c Remove the Description from the location picker (#7485) 2022-01-10 10:07:51 +00:00
Andy Balaam
9cb8ce7c20 Add zoom buttons to the location view (#7482) 2022-01-10 09:30:24 +00:00
Andy Balaam
707f8cd878 Open map in a dialog when it is clicked (#7465) 2022-01-07 14:54:45 +00:00
Andy Balaam
b412067b24 Fix nulls leaking into geo urls (#7433) 2021-12-21 16:56:28 +00:00
Andy Balaam
a239c456e3 Allow opening a map view in OpenStreetMap (#7428) 2021-12-21 15:48:20 +00:00
Andy Balaam
8b2a478a25 Update location text fallback and test it (#7408) 2021-12-21 09:37:06 +00:00
Andy Balaam
670d7824ec Tidy location code (#7402) 2021-12-17 12:26:02 +00:00
Andy Balaam
bd226cd062 Tests for getGeoUri (#7400)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-12-17 10:58:24 +00:00
Will Hunt
b952fef195 Don't include the accuracy parameter in location events if accuracy could not be determined. (#7375)
* Don't include accuracy on geouri if not defined

* Use !== undefined

* Add a )
2021-12-15 21:06:40 +00:00
Aaron Raimist
2e8a93834b Auto fix
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-12-09 09:10:23 +00:00
Michael Telatynski
e2ed00db85 Location Picker catch instantiation errors e.g WebGL disabled (#7296) 2021-12-07 09:31:13 +00:00
Tulir Asokan
2e5a6fc738 Allow sharing manual location without giving location permission (#7295) 2021-12-06 14:53:39 +00:00
Matthew Hodgson
684b0617ae Support sharing custom locations. (#7185)
Add the ability to click on the map to share a specific named location.
2021-12-06 10:13:06 +00:00
Matthew Hodgson
1262021417 Simple static location sharing (#7135)
Adds maplibre as a dependency, and behind a labs flag, lets users send and receive [MSC3488](https://github.com/matrix-org/matrix-doc/blob/matthew/location/proposals/3488-location.md) style location shares - with backwards compatibility with old school `m.location` `msgtype` location shares too.

For this to work, you have to define a valid maptile server and API in your config.json's `map_style_url`.
2021-12-06 09:45:12 +00:00