blob: c9a6ba2e66e7c7c5cff40b1d2883b9a90167297f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#pragma once
#include <mbgl/map/map.hpp>
#include <mbgl/style/layer.hpp>
#include "layer.hpp"
#include <jni/jni.hpp>
namespace mbgl {
namespace android {
/**
* Create a non-owning peer
*/
jni::Local<jni::Object<Layer>> createJavaLayerPeer(jni::JNIEnv&, mbgl::Map&, mbgl::style::Layer&);
/**
* Create an owning peer
*/
jni::Local<jni::Object<Layer>> createJavaLayerPeer(jni::JNIEnv& env, mbgl::Map& map, std::unique_ptr<mbgl::style::Layer>);
void registerNativeLayers(jni::JNIEnv&);
}
}
|