Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

embedded iframe #11

Open
ghost opened this issue Oct 15, 2021 · 0 comments
Open

embedded iframe #11

ghost opened this issue Oct 15, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 15, 2021

There are two ways that peermaps can be embedded as an iframe:

  • hidden, requesting data only
  • visible, displaying a map

Both should tie into a permissions approval model that can be managed from the web app or possibly also from the embedded element when it is visible. When the iframe is opened in hidden mode, it could expand to present a visible ui in order to request permission, then disappear if permission is given.

Both methods can be driven by the parent web page using postMessage.

@ghost ghost mentioned this issue Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants