diff options
Diffstat (limited to 'platform/darwin/src/MGLHillshadeStyleLayer.mm')
-rw-r--r-- | platform/darwin/src/MGLHillshadeStyleLayer.mm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLHillshadeStyleLayer.mm b/platform/darwin/src/MGLHillshadeStyleLayer.mm index dcc18ba54d..c1f47b0b68 100644 --- a/platform/darwin/src/MGLHillshadeStyleLayer.mm +++ b/platform/darwin/src/MGLHillshadeStyleLayer.mm @@ -8,9 +8,10 @@ #import "MGLStyleValue_Private.h" #import "MGLHillshadeStyleLayer.h" #import "MGLLoggingConfiguration_Private.h" +#import "MGLHillshadeStyleLayer_Private.h" #include <mbgl/style/transition_options.hpp> -#include <mbgl/style/layers/hillshade_layer.hpp> + namespace mbgl { @@ -249,3 +250,11 @@ namespace mbgl { } @end + +namespace mbgl { + +MGLStyleLayer* HillshadeStyleLayerPeerFactory::createPeer(style::Layer* rawLayer) { + return [[MGLHillshadeStyleLayer alloc] initWithRawLayer:rawLayer]; +} + +} // namespace mbgl |