TUM-Dev / NavigaTUM

Navigating around TUM with excellence – A website and API to search for rooms, buildings and other places
https://nav.tum.de
GNU General Public License v3.0
42 stars 7 forks source link

Support an embedded view #1346

Open CommanderStorm opened 1 month ago

CommanderStorm commented 1 month ago
          I think something like the Youtube "Teilen" -> "Eingebettet" feature would be the thing I imagine with this.

See: Youtube doku

<iframe width="560" height="315" src="https://www.youtube.com/embed/dQw4w9WgXcQ?si=kOrs9Ch8nv2vFPQZ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

(also maybe add the "feature" label)

Originally posted by @braupach in https://github.com/TUM-Dev/NavigaTUM/issues/251#issuecomment-2242804552

braupach commented 1 month ago

Proper description:

Embedded View for other Websites

Is your feature request related to a problem? Please describe.

On the website of a chair or a studentclub showing where you are located normally involves Custom maps, Screenshots or embedded google maps. This results in a lot of inconsistencies or not so nice data-sharing with google. Example: grafik Akaflieg

Describe the solution you'd like

Provide iframes to easily embed NavigaTUM in websites

The Google Maps implementation can also be helpful in designing the feature regarding UI

Describe alternatives you've considered

Additional context

Example on TUM-Website: Screenshot 2024-07-22 at 16-03-55 Kontakt und Anfahrt - TUMexp