diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-04-26 14:55:18 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-05-10 14:22:01 -0700 |
commit | c130d470a10fc6c43696d0a6fe720dac6da12e3a (patch) | |
tree | ec3700ed4d7a87e90f1efb6be68366f74c3730f7 /test/api | |
parent | b7b6706576dc196fa74bb2089d3efdf2a2b4c357 (diff) | |
download | qtlocation-mapboxgl-c130d470a10fc6c43696d0a6fe720dac6da12e3a.tar.gz |
[core] Remove StyleSourcedAnnotation support
The functionality this provided has been subsumed by the runtime styling API.
Diffstat (limited to 'test/api')
-rw-r--r-- | test/api/annotations.test.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
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<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; |