Gets style layer properties.
Style layer metadata or a string describing an error if the operation was not successful.
Optional filter to specify specific layer type for query.