buildLayer method
override this function for every map layers
Implementation
@override
Widget buildLayer(BuildContext context, MapState map) {
return Transform.rotate(
angle: degToRadian(options?.rotation ?? map.options.rotation),
child: Opacity(
opacity: options?.opacity ?? 1.0,
child: Stack(children: layers!),
),
);
}