Added support for layers on paths to match existing support for markers. Added unit test and example.