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

Sensor Map: Call by City-Url leads to zoom #2 #42

Closed
dokape opened this issue Jun 18, 2017 · 2 comments
Closed

Sensor Map: Call by City-Url leads to zoom #2 #42

dokape opened this issue Jun 18, 2017 · 2 comments

Comments

@dokape
Copy link

dokape commented Jun 18, 2017

Call of sensor-Map via specific city url leads gets corrects location from places.js
but uses zoomlevel #2.

example:
passau.maps.luftdaten.info
leads to
http://passau.maps.luftdaten.info/#2/48.6/13.2
showing whole earth.

Stuttgart:
http://stuttgart.maps.luftdaten.info leads to:
http://stuttgart.maps.luftdaten.info/#2/48.8/9.2

Deutschland works:
http://deutschland.maps.luftdaten.info leads to:
http://deutschland.maps.luftdaten.info/#6/51.165/10.455

Baden-Württemberg works also.
http://baden-wuerttemberg.maps.luftdaten.info/ leads to
http://baden-wuerttemberg.maps.luftdaten.info/#8/48.530/9.050

seems, only citys are affected.
Checked with Chrome 58 and Firefox 54 on Windows 10

@ricki-z
Copy link
Member

ricki-z commented Jun 18, 2017

I had changed the default location and zoom level to 0,0 and 2 for maps.luftdaten.info.
But the default level for cities should be 11. This is now changed. So the calls should work again.

@dokape
Copy link
Author

dokape commented Jun 19, 2017

works.

closed.

@dokape dokape closed this as completed Jun 19, 2017
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

2 participants