shapeDrawing function
Returns the ShapeDrawing for geoShape, or null if rectangle or unknown.
Implementation
ShapeDrawing? shapeDrawing(dynamic geoShape) {
if (geoShape == null) return null;
final name = geoShape.toString();
if (name == 'rect' || name == 'rectangle') return null;
return geoShapes[name];
}