Displaying Selected Cities on GeoMap Panel in Grafana Based on Multi-Select Dropdown Variable

I’m using Grafana with the Infinity data source to fetch city data in JSON format, which looks like this:
[
{“id”:1,“name”:“HYDERABAD”,“latitude”:17.09677,“longitude”:78.31115},
{“id”:2,“name”:“BANGLORE”,“latitude”:12.9716,“longitude”:77.5946},
{“id”:3,“name”:“PUNE”,“latitude”:18.5204,“longitude”:73.8567},
{“id”:4,“name”:“MUMBAI”,“latitude”:19.076,“longitude”:72.8777}
]

I’ve created a multi-selection dropdown variable using this data. My goal is to visualize only the selected cities on a GeoMap panel based on the user’s selection in the dropdown.

How can I configure the GeoMap panel to filter and display only the selected cities from the dropdown?

basically that dropdown variable should store the selected cities complete data and I need to use the value of that variable in geomap panel.

use dashboard variables in the query. There’s no way to filter data on Geomap specifically, it justs renders your query result