Merge pull request #1149 from mapbox/1ec5-subview

Child GLKView should be bottommost child
This commit is contained in:
Minh Nguyễn
2015-03-30 10:52:15 -07:00

View File

@@ -212,7 +212,7 @@ mbgl::DefaultFileSource *mbglFileSource = nullptr;
}
_glView.delegate = self;
[_glView bindDrawable];
[self addSubview:_glView];
[self insertSubview:_glView atIndex:0];
_glView.contentMode = UIViewContentModeCenter;
[self setBackgroundColor:[UIColor clearColor]];