Ability to detect map changes #70

Open
opened 2026-01-29 17:31:05 +00:00 by claunia · 0 comments
Owner

Originally created by @mkArtak on GitHub (Mar 24, 2021).

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Hi folks.
I've been trying to us Radzen GoogleMap control and for my scenario I need to detect when the map changes the area it's showing. More specifically, I need to be able to get the boundaries shown.
This is currently not possible with the control.

Describe the solution you'd like
It would be great to have a new event on the Radzen GoogleMap control which would fire when the visible map area changes (zoom, pan). That event would also have an argument, which will contain the boundaries of the new view (lat/long pairs).

I've checked the Google Maps Javascript API and it has the two necessary pieces for this to work:

Thanks for considering this.

Originally created by @mkArtak on GitHub (Mar 24, 2021). <!-- IMPORTANT: Read this first!!! 1. If you own a Radzen Professional or Еnterprise subscription you can request your feature via email at info@radzen.com. Radzen staff will reply within 24 hours (Professional) or 16 hours (Enterprise) 2. The Radzen staff guarantees a response to issues in this repo only to paid subscribers. 3. If you have a HOW TO question start a new forum thread in the Radzen Community forum: https://forum.radzen.com. Radzen staff will close issues that are HOWTO questions. 4. Please adhere to the issue template. --> **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] Hi folks. I've been trying to us Radzen GoogleMap control and for my scenario I need to detect when the map changes the area it's showing. More specifically, I need to be able to get the boundaries shown. This is currently not possible with the control. **Describe the solution you'd like** It would be great to have a new event on the Radzen GoogleMap control which would fire when the visible map area changes (zoom, pan). That event would also have an argument, which will contain the boundaries of the new view (lat/long pairs). I've checked the Google Maps Javascript API and it has the two necessary pieces for this to work: - the [`getBounds` API](https://developers.google.com/maps/documentation/javascript/reference/map#Map.getBounds), which allows to get the boundaries of currently shown map area - the[`bounds_changed`](https://developers.google.com/maps/documentation/javascript/reference/map#Map.bounds_changed) event Thanks for considering this.
claunia added the enhancement label 2026-01-29 17:31:05 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#70