Skip to content

Improved map panel and map card to ignore zones when fitting map.#4447

Merged
bramkragten merged 5 commits into
home-assistant:devfrom
klejejs:dev
Jan 12, 2020
Merged

Improved map panel and map card to ignore zones when fitting map.#4447
bramkragten merged 5 commits into
home-assistant:devfrom
klejejs:dev

Conversation

@klejejs
Copy link
Copy Markdown
Member

@klejejs klejejs commented Jan 10, 2020

Fixed this issue #1598.

Comment thread src/panels/map/ha-panel-map.js Outdated
Comment thread src/panels/lovelace/cards/hui-map-card.ts Outdated
@bramkragten
Copy link
Copy Markdown
Member

Instead of adding it as an option to the marker, we could also save them in a different array when creating them and use that for the fitting.

@klejejs
Copy link
Copy Markdown
Member Author

klejejs commented Jan 12, 2020

Ok, so I took your idea, reverted to the previous version and created a new array for zones, which is not used for fitting map.

@bramkragten bramkragten merged commit a8ed872 into home-assistant:dev Jan 12, 2020
@klejejs
Copy link
Copy Markdown
Member Author

klejejs commented Jan 12, 2020

Can you please close the issue? (#1598 )

@lock lock Bot locked and limited conversation to collaborators Jan 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants