From c130d470a10fc6c43696d0a6fe720dac6da12e3a Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 26 Apr 2017 14:55:18 -0700 Subject: [core] Remove StyleSourcedAnnotation support The functionality this provided has been subsumed by the runtime styling API. --- test/api/annotations.test.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'test') diff --git a/test/api/annotations.test.cpp b/test/api/annotations.test.cpp index 97ccaae684..100187c587 100644 --- a/test/api/annotations.test.cpp +++ b/test/api/annotations.test.cpp @@ -144,16 +144,6 @@ TEST(Annotations, OverlappingFillAnnotation) { test.checkRendering("overlapping_fill_annotation"); } -TEST(Annotations, StyleSourcedShapeAnnotation) { - AnnotationTest test; - - Polygon 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; -- cgit v1.2.1