appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
33.79k stars 3.64k forks source link

[Feature]-[100]:Add option to change zoom level of Map #9953

Open nayan-rafiq opened 2 years ago

nayan-rafiq commented 2 years ago

Is there an existing issue for this?

Summary

In Maps widget, there is no way to change the zoom level with condition.

Why should this be worked on?

An user on discord requested this feature. Here is the message from the user:

Does MAPS has an option, if you Click a tablerow, then zoom-in the marker? I just got it work when you select the row, it goes to the marker, but it it stays at same zoom-level. And zoom-out again when leave the row.

dilippitchika commented 2 years ago

@nayan-rafiq Need to know the message, as I have some doubts on why the default zoom level won't work for all rows in the table. Will DM you

dilippitchika commented 2 years ago

Customer context on why this is needed

Checked google maps, it also doesn't have zoom when user selects a place from the list. Will research a bit more.

dilippitchika commented 2 years ago

Sample image of the markers in the map, also the support from displaying labels on map

image

somangshu commented 2 years ago

@dilippitchika for the icon to be used can we use the same control present in button etc?

dilippitchika commented 2 years ago

That will work @somangshu

momcilo-appsmith commented 2 years ago

Stats

Stat Values
Reach 50
Effort (months) 0.25