[android] promote releaseCoreLayer from protected to public
This commit is contained in:
@@ -29,6 +29,9 @@ public:
|
||||
|
||||
void addToMap(mbgl::Map&, mbgl::optional<std::string>);
|
||||
|
||||
// Release the owned view and return it
|
||||
std::unique_ptr<mbgl::style::Layer> releaseCoreLayer();
|
||||
|
||||
jni::Local<jni::String> getId(jni::JNIEnv&);
|
||||
|
||||
jni::Local<jni::String> getSourceId(jni::JNIEnv&);
|
||||
@@ -77,9 +80,6 @@ protected:
|
||||
*/
|
||||
Layer(std::unique_ptr<mbgl::style::Layer>);
|
||||
|
||||
// Release the owned view and return it
|
||||
std::unique_ptr<mbgl::style::Layer> releaseCoreLayer();
|
||||
|
||||
// Owned layer is set when creating a new layer, before adding it to the map
|
||||
std::unique_ptr<mbgl::style::Layer> ownedLayer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user