[core] Introduce StyleLayer subclasses
This commit is contained in:
@@ -223,11 +223,8 @@ void GLFWView::addRandomPointAnnotations(int count) {
|
||||
void GLFWView::addRandomShapeAnnotations(int count) {
|
||||
std::vector<mbgl::ShapeAnnotation> shapes;
|
||||
|
||||
mbgl::FillPaintProperties fillProperties;
|
||||
fillProperties.opacity = .1;
|
||||
|
||||
mbgl::StyleProperties properties;
|
||||
properties.set<mbgl::FillPaintProperties>(fillProperties);
|
||||
mbgl::FillPaintProperties properties;
|
||||
properties.opacity = .1;
|
||||
|
||||
for (int i = 0; i < count; i++) {
|
||||
mbgl::AnnotationSegment triangle;
|
||||
|
||||
@@ -2167,7 +2167,7 @@ CLLocationCoordinate2D MGLLocationCoordinate2DFromLatLng(mbgl::LatLng latLng)
|
||||
[strokeColor getRed:&r green:&g blue:&b alpha:&a];
|
||||
mbgl::Color strokeNativeColor({{ (float)r, (float)g, (float)b, (float)a }});
|
||||
|
||||
mbgl::StyleProperties shapeProperties;
|
||||
mbgl::ShapeAnnotation::Properties shapeProperties;
|
||||
|
||||
if ([annotation isKindOfClass:[MGLPolyline class]])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user