allow map layers to be controlled by property settings. Fixes #56.