diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-04-21 20:15:18 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-04-21 20:15:18 +0300 |
commit | 4e04a107e85a2118df12415cc661b8edb1fa36f4 (patch) | |
tree | 879d325008f8fedc621465f01795f0847b2e78d8 /test | |
parent | 3ee9d12013afd7f513f6a2f41c98684e824e5a60 (diff) | |
download | qtlocation-mapboxgl-4e04a107e85a2118df12415cc661b8edb1fa36f4.tar.gz |
Revert "[core] Do not clear custom layers upon style switch"
This reverts commit 8ec875b87c387713d7e4df5c90e6cac7669ed38b.
Diffstat (limited to 'test')
-rw-r--r-- | test/api/custom_layer.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/api/custom_layer.cpp b/test/api/custom_layer.cpp index beffa749d1..4ad25bbfd5 100644 --- a/test/api/custom_layer.cpp +++ b/test/api/custom_layer.cpp @@ -90,8 +90,4 @@ TEST(CustomLayer, Basic) { }, new TestLayer()); test::checkImage("test/fixtures/custom_layer/basic", test::render(map)); - - // Custom layer should be preserved when switching styles - map.setStyleJSON(util::read_file("test/fixtures/api/empty.json"), ""); - test::checkImage("test/fixtures/custom_layer/basic", test::render(map)); } |