-
Notifications
You must be signed in to change notification settings - Fork 50
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
Toggle for Betterplace donation overlay #73
Comments
Hi @steampixel , |
Awesome! Seems to work perfectly. I will try it out later on our little screen. |
Hm. There seems to be some kind of an issue with that. Try the following: Just copy the following urls into your web browser one after another and hit enter (testet on Firefox and Chrome)
The expected behavior should be, that the map should change its area and zoom. But with the /nooverlay option this works not consistently. Our infoscreen works by replacing the src attribute of an iframe to achive this. |
I have changed the map again. It seems that we can't use the url hash for this. So the 'new' format for the 5 urls is: |
Ok. Seems to work now :-) Thank you! |
I have added a short description to the readme. |
Hey,
the betterplace donation overlay is a great idea. But I think it would be cool to have an option to hide this overlay if someone embeds the map. At our store window we have a tiny luftdaten.info screen that rotates over several map positions in germany and our city. (https://github.com/steampixel/luftdaten-infoscreen) This is very usefull and informative for pedestrians. Unfortunality the betterplace button is very big on our little screen and just a little useless :-)
It would be great if we could have some configuration option via URL. Something like
http://deutschland.maps.luftdaten.info/?nooverlay#7/51.944/10.327
orhttp://deutschland.maps.luftdaten.info/#7/51.944/10.327/nooverlay
I think this could be done in pure JavaScript. What do you think about this?
The text was updated successfully, but these errors were encountered: