Hi Will,
Greetings from Syncfusion.
We have checked your query, and we would like to let you
know that you can customize the shape hover color in the maps widget by
wrapping the SfMaps widget inside the SfMapsTheme and setting the shapeHoverColor for the SfMaps widget as per your
requirement.
For your case, we suggest setting the shapeHoverColor
to Colors.Transparent so that when hovering on the polygons,
its transparency will not change. Please check the code snippet below for
reference.
SfMapsTheme(
data: SfMapsThemeData(
shapeHoverColor:
Colors.transparent,
shapeHoverStrokeColor: Colors. transparent,
),
child: SfMaps(
layers:
<MapLayer>[
MapShapeLayer(
source:
dataSource,
),
],
)
|
Also appended the user guide
documentation for customizing the hover color in the maps below for your
reference.
https://help.syncfusion.com/flutter/maps/shape#hover-color
Please check and get back to us
if you require further assistance.
Regards,
Sriram Kiran