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

Extend map view to include city/town border when a city/town is selected #62

Open
ohobby opened this issue Dec 22, 2022 · 5 comments
Open
Labels
enhancement New feature or request

Comments

@ohobby
Copy link

ohobby commented Dec 22, 2022

Hi,

would it be possible to extend the map view so that you can activate the display of the city/town boundaries when you select a city?

Regards,
Oliver

@amotl
Copy link
Member

amotl commented Dec 22, 2022

Hi Oliver,

thanks for your suggestion. This will probably have to be handled as a feature request to panodata-map-panel, but let's discuss it here beforehand.

Let's use a map of Italy 1 as an example. How would you like to improve the interaction with the map, i.e. how do you define "extend", "activate", "display", and "select"? What should be "extended", and how, and which "display" should be "activated", and how?

Also, with "select a city", do you refer to the location chooser component at the top of the page?

image

Are you exclusively referring to the map display component? Do you want it to automatically pan/zoom the map somewhere when interacting with it?

With kind regards,
Andreas.

Footnotes

  1. https://weather.hiveeyes.org/grafana/d/ZKf6O2TWk/luftdaten-info-map-for-italy

@amotl amotl changed the title Improvement proposal/wish: Extend map view to include city/town border when a city/town is selected. Extend map view to include city/town border when a city/town is selected Dec 22, 2022
@amotl amotl added the enhancement New feature or request label Dec 22, 2022
@amotl
Copy link
Member

amotl commented Dec 22, 2022

Do you want the map component to automatically pan/zoom the map somewhere?

The feature you are asking for might be the Fit to data functionality implemented in our fork of Worldmap. Maybe turning on that option already solves your needs.

image

@ohobby
Copy link
Author

ohobby commented Dec 22, 2022

Hi Andreas,
yes the "Fit to data" is good to zoom in to the selected city. (At the linked Italy Map, it is not possible to activate, because the Map is only readonly ;-) )
To activate the city/town border view, is possible a point to place under the Visual options or as option button near the City select field.
Sorry, that i don't place it under panodata-map-panel

@ohobby
Copy link
Author

ohobby commented Dec 22, 2022

City (and possible State) border like this https://nominatim.openstreetmap.org/ui/search.html?q=verona (This is also a possible source for the City Borders.)

@amotl
Copy link
Member

amotl commented Dec 25, 2022

yes the "Fit to data" is good to zoom in to the selected city

👍

At the linked Italy Map, it is not possible to activate, because the Map is only readonly ;-)

That's true. Did you manage to turn it on on your own installation?

Sorry, that i don't place it under panodata-map-panel.

Your request is very welcome here, in order to get that into the same context. I found those issues, and I think they might reflect your request already?

To activate the city/town border view, is possible a point to place under the Visual options or as option button near the City select field.

If this feature would be in place, I am sure we will find a smart way to "activate" it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants