Currently, only WMS layers are supported. We should also find a way to get the type names from other layer types.
Example https://github.com/terrestris/shogun-gis-client/blob/main/src/utils/generateSolrQuery.ts#L45
Also depends on #575 to have other type guards available.