Hello,
I am using choroplethmapbox map to show a map of my country using geojson to color districts.
This my relevant code:
var data = [{
type: 'choroplethmapbox',
legend: true,
geojson: 'districts.geojson',
featureidkey: 'properties.iso_name',
locations: districts,
z: hits,
color_continuous_scale:"Portland",
autocolorscale: true,
'zmax': Math.max(hits),
'zmin': 0,
}];
Is there a way to always show z
values fixed on each district instead to put mouse over?
Thanks.