Move style url and spi key to java

Try 565 config then 8888
Remove unused perm
This commit is contained in:
Leith Bade
2014-11-08 11:56:30 +11:00
parent 0ac4247f72
commit 7de5c03cfb
6 changed files with 45 additions and 36 deletions

View File

@@ -41,7 +41,7 @@ class NativeMapView {
friend class MBGLView;
public:
NativeMapView(JNIEnv* env, jobject obj, std::string default_style_json);
NativeMapView(JNIEnv* env, jobject obj, std::string style_url, std::string api_key);
~NativeMapView();
mbgl::Map* getMap() const {
@@ -82,7 +82,8 @@ private:
EGLConfig config = nullptr;
EGLint format = -1;
std::string default_style_json;
std::string style_url;
std::string api_key;
};
class MBGLView: public mbgl::View {