plepe / OpenStreetBrowser

An application to ‘browse’ the information in the displayed part of the map. Similar to common Wikis and also the main page of http://www.openstreetmap.org the website shows a narrow menu on the left side, most of the page is used for the display of the map. In contrast to most Wikis the menu is not static, but rather the content of the map can be browsed in categories. For the map a special style has been developed (sorry guys, I neither like the default Mapnik nor Osmarender styles), and special overlays are displayed to support the current browsed categories. When you click on an object (either from the list or directly on the map) informations on this object are displayed.
http://www.openstreetbrowser.org
GNU General Public License v3.0
88 stars 20 forks source link

Facebook messing up OSB links #134

Closed IgorEliezer closed 1 year ago

IgorEliezer commented 4 years ago

Say I post on Facebook a link like this https://openstreetbrowser.org/#map=17/-23.54906/-46.63448&categories=memorial.

FB adds a ?fbclid={load_of_trash} in the link between https://openstreetbrowser.org/ and #map=... , which is not supported by OSB. So everything after https://openstreetbrowser.org/ is dropped.

plepe commented 4 years ago

Oh, that's bad. Actually, this serves as compatibility with old links, because you can link to https://openstreetbrowser.org/?map=17/-23.54906/-46.63448 . I'm re-directing from server side code, but unfortunately there is no (direct) way that the server receives parameters after #.

I'm sure, I'll come up with a solution ;-)

plepe commented 1 year ago

Sorry, I forgot about this issue.