[core] Remove StyleSourcedAnnotation support

The functionality this provided has been subsumed by the runtime styling API.
This commit is contained in:
John Firebaugh
2017-04-26 14:55:18 -07:00
parent b7b6706576
commit c130d470a1
14 changed files with 1 additions and 150 deletions

View File

@@ -144,16 +144,6 @@ TEST(Annotations, OverlappingFillAnnotation) {
test.checkRendering("overlapping_fill_annotation");
}
TEST(Annotations, StyleSourcedShapeAnnotation) {
AnnotationTest test;
Polygon<double> polygon = { {{ { 0, 0 }, { 0, 45 }, { 45, 45 }, { 45, 0 } }} };
test.map.setStyleJSON(util::read_file("test/fixtures/api/annotation.json"));
test.map.addAnnotation(StyleSourcedAnnotation { polygon, "annotation" });
test.checkRendering("style_sourced_shape_annotation");
}
TEST(Annotations, AddMultiple) {
AnnotationTest test;