Favourites: stabilize preferences and adding/removing favourites
This commit is contained in:
parent
f9827dd6ae
commit
3ce21f61cb
8 changed files with 122 additions and 47 deletions
|
@ -125,7 +125,21 @@ describe("PrepareTheme", () => {
|
|||
en: "Test layer - please ignore",
|
||||
},
|
||||
titleIcons: [],
|
||||
pointRendering: [{ location: ["point"], label: "xyz" }],
|
||||
pointRendering: [
|
||||
{
|
||||
location: ["point"],
|
||||
label: "xyz",
|
||||
iconBadges: [
|
||||
{
|
||||
if: "_favourite=yes",
|
||||
then: <any>{
|
||||
id: "circlewhiteheartred",
|
||||
render: "circle:white;heart:red",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
lineRendering: [{ width: 1 }],
|
||||
}
|
||||
const sharedLayers = constructSharedLayers()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue