Closed spaiki007 closed 6 months ago
When you call this function without roadBorderWidth.
-- Flutter await controller.drawRoadManually( road, RoadOption( roadWidth: 10, //roadBorderWidth: 0.1, roadColor: roadColor, zoomInto: false, ), );
then in the function
-- Kotlin private fun drawRoadManually(call: MethodCall, result: MethodChannel.Result) { ... // args["roadBorderWidth"] == null // true val roadBorderWidth = (args["roadBorderWidth"] as Double).toFloat() ...
Please make roadBorderWidth either mandatory or provide a default value. flutter_osm_plugin: ^1.0.0
The same applies to roadBorderColor: please make it either mandatory or provide a default value.
oh my bad! i will do quick fix
check our new version 1.0.1
1.0.1
Yes, everything works great, but please do the same for roadBorderColor.
When you call this function without roadBorderWidth.
then in the function
Please make roadBorderWidth either mandatory or provide a default value. flutter_osm_plugin: ^1.0.0
The same applies to roadBorderColor: please make it either mandatory or provide a default value.