diff --git a/ext/ShapefileMakieExt.jl b/ext/ShapefileMakieExt.jl index 8253456..1ff486b 100644 --- a/ext/ShapefileMakieExt.jl +++ b/ext/ShapefileMakieExt.jl @@ -10,7 +10,7 @@ GeoInterfaceMakie.@enable Shapefile.LinearRing Makie.plottype(tbl::Shapefile.Table) = Makie.plottype(Shapefile.shapes(tbl)) Makie.plottype(shp::Shapefile.Handle) = Makie.plottype(Shapefile.shapes(shp)) -for T in (Any, Type{<:Makie.AbstractPlot}, Type{<:Makie.Poly}, Type{<:Makie.Lines}, Makie.PointBased) +for T in (Any, Union{Type{Any}, Type{<:Makie.AbstractPlot}}, Type{<:Makie.Poly}, Type{<:Makie.Lines}, Makie.PointBased) @eval begin Makie.convert_arguments(t::$T, tbl::Shapefile.Table) = Makie.convert_arguments(t, Shapefile.shapes(tbl))