Change naming in some platform files (#2452)
This commit is contained in:
@@ -32,12 +32,12 @@ namespace mbgl {
|
||||
|
||||
using namespace style;
|
||||
|
||||
const std::string AnnotationManager::SourceID = "com.mapbox.annotations";
|
||||
const std::string AnnotationManager::PointLayerID = "com.mapbox.annotations.points";
|
||||
const std::string AnnotationManager::ShapeLayerID = "com.mapbox.annotations.shape.";
|
||||
const std::string AnnotationManager::SourceID = "org.maplibre.annotations";
|
||||
const std::string AnnotationManager::PointLayerID = "org.maplibre.annotations.points";
|
||||
const std::string AnnotationManager::ShapeLayerID = "org.maplibre.annotations.shape.";
|
||||
|
||||
AnnotationManager::AnnotationManager(Style& style_)
|
||||
: style(style_) {};
|
||||
: style(style_) {}
|
||||
|
||||
AnnotationManager::~AnnotationManager() = default;
|
||||
|
||||
@@ -235,7 +235,7 @@ void AnnotationManager::removeTile(AnnotationTile& tile) {
|
||||
}
|
||||
|
||||
// To ensure that annotation images do not collide with images from the style,
|
||||
// we prefix input image IDs with "com.mapbox.annotations".
|
||||
// we prefix input image IDs with "org.maplibre.annotations".
|
||||
static std::string prefixedImageID(const std::string& id) {
|
||||
return AnnotationManager::SourceID + "." + id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user