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

Visualization enhancement: base-map switch and map zoom-in limitation #70

Closed
jinningwang opened this issue Feb 23, 2024 · 1 comment · Fixed by #71
Closed

Visualization enhancement: base-map switch and map zoom-in limitation #70

jinningwang opened this issue Feb 23, 2024 · 1 comment · Fixed by #71
Assignees
Labels
enhancement New feature or request

Comments

@jinningwang
Copy link
Member

Issue
When using AGVis, the zoom-in seems to be limited somewhere, as shown in the Figure below:

image

Desire Feature
First, improve zoom-in limitation.
Can we made some change to alleviate this limitation so AGVis is capable of distribution system visualization? For example, a microgrid on UTK Campus size as attached in the case file. UTCampus.xlsx

Second, is it possible to add option to switch base-map? Maybe street-map?

Version

(agvis) jinningwang@jwmba-3 agvis % agvis run

    _   _____   ___     | Version 3.2.1.post96+gbd5488c
   /_\ / __\ \ / (_)___ | Python 3.9.18 on Darwin, 02/23/2024 07:18:28 AM
  / _ \ (_ |\ V /| (_-< | 
 /_/ \_\___| \_/ |_/__/ | Web-based geographical visualizer.

Working directory: "/Users/jinningwang/Documents/work/agvis"
AGVis will serve static files from directory "/Users/jinningwang/Documents/work/agvis/agvis/static"
at the URL http://127.0.0.1:8810. Open your web browser and navigate to the URL to access the application.

Starting AGVis... Press Ctrl+C to stop.

[2024-02-23 07:18:28 -0500] [63127] [INFO] Starting gunicorn 21.2.0
[2024-02-23 07:18:28 -0500] [63127] [INFO] Listening at: http://127.0.0.1:8810 (63127)
[2024-02-23 07:18:28 -0500] [63127] [INFO] Using worker: sync
[2024-02-23 07:18:28 -0500] [63128] [INFO] Booting worker with pid: 63128
@jinningwang jinningwang added the enhancement New feature or request label Feb 23, 2024
@zmalkmus
Copy link
Collaborator

I apologize for the late reply. It is possible leaflet has been set to have a max zoom, which can be overridden with a single value change, otherwise, this is a limiting factor with the leafletjs library. I will look into this.

@zmalkmus zmalkmus linked a pull request Mar 18, 2024 that will close this issue
@zmalkmus zmalkmus closed this as completed Apr 3, 2024
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

Successfully merging a pull request may close this issue.

2 participants