hide the LocationIndicatorLayer impl

This commit is contained in:
Łukasz Paczos
2020-04-14 13:15:24 +02:00
parent 6bb456882a
commit dbaad6312b
56 changed files with 476 additions and 430 deletions

View File

@@ -1,4 +1,4 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#include "background_layer.hpp"

View File

@@ -1,4 +1,4 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#pragma once

View File

@@ -1,4 +1,4 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#include "circle_layer.hpp"

View File

@@ -1,4 +1,4 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#pragma once

View File

@@ -1,4 +1,4 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#include "fill_extrusion_layer.hpp"

View File

@@ -1,4 +1,4 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#pragma once

View File

@@ -1,4 +1,4 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#include "fill_layer.hpp"

View File

@@ -1,4 +1,4 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#pragma once

View File

@@ -1,4 +1,4 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#include "heatmap_layer.hpp"

View File

@@ -1,4 +1,4 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#pragma once

View File

@@ -1,4 +1,4 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#include "hillshade_layer.hpp"

View File

@@ -1,4 +1,4 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#pragma once

View File

@@ -2,7 +2,7 @@
const type = locals.type;
const properties = locals.properties;
-%>
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#include "<%- type.replace('-', '_') %>_layer.hpp"

View File

@@ -2,7 +2,7 @@
const type = locals.type;
const properties = locals.properties;
-%>
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#pragma once
@@ -18,7 +18,11 @@ namespace android {
class <%- camelize(type) %>Layer : public Layer {
public:
using SuperTag = Layer;
<% if (type === 'location-indicator') { -%>
static constexpr auto Name() { return "com/mapbox/mapboxsdk/location/<%- camelize(type) %>Layer"; };
<% } else { -%>
static constexpr auto Name() { return "com/mapbox/mapboxsdk/style/layers/<%- camelize(type) %>Layer"; };
<% } -%>
<% if (type === 'background' || type === 'location-indicator') { -%>
<%- camelize(type) %>Layer(jni::JNIEnv&, jni::String&);

View File

@@ -1,4 +1,4 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#include "line_layer.hpp"

View File

@@ -1,4 +1,4 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#pragma once

View File

@@ -1,4 +1,4 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#include "location_indicator_layer.hpp"

View File

@@ -1,4 +1,4 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#pragma once
@@ -14,7 +14,7 @@ namespace android {
class LocationIndicatorLayer : public Layer {
public:
using SuperTag = Layer;
static constexpr auto Name() { return "com/mapbox/mapboxsdk/style/layers/LocationIndicatorLayer"; };
static constexpr auto Name() { return "com/mapbox/mapboxsdk/location/LocationIndicatorLayer"; };
LocationIndicatorLayer(jni::JNIEnv&, jni::String&);

View File

@@ -1,4 +1,4 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#include "raster_layer.hpp"

View File

@@ -1,4 +1,4 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#pragma once

View File

@@ -1,4 +1,4 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#include "symbol_layer.hpp"

View File

@@ -1,4 +1,4 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#pragma once