I'm trying to plot locations on a map with XPlot and googlecharts.chart.map.
I followed the example I found, but the resulting map had no tool tips on the specified locations.
To debug my code I simply attempted to reproduce the example, with the same result, i.e. no markers at the specified locations.
My implementation of the example (https://fslab.org/XPlot/chart/google-map-chart.html) is below:
let data =
[
"China", "China: 1,363,800,000"
"India", "India: 1,242,620,000"
"US", "US: 317,842,000"
"Indonesia", "Indonesia: 247,424,598"
"Brazil", "Brazil: 201,032,714"
"Pakistan", "Pakistan: 186,134,000"
"Nigeria", "Nigeria: 173,615,000"
"Bangladesh", "Bangladesh: 152,518,015"
"Russia", "Russia: 146,019,512"
"Japan", "Japan: 127,120,000"
]
let options = XPlot.GoogleCharts.Configuration.Options(showTip = true)
let chart = data
|> XPlot.GoogleCharts.Chart.Map
|> XPlot.GoogleCharts.Chart.WithOptions options
|> XPlot.GoogleCharts.Chart.WithHeight 420
|> XPlot.GoogleCharts.Chart.WithWidth 800
chart |> XPlot.GoogleCharts.Chart.Show
The map is shown without any markers.
How should the code be modified to ensure the locations are marked?