Zum Hauptinhalt gehen

Custom code (map.apply-layer-preset) gives error

Kommentare

2 Kommentare

  • Scott Anderson

    Hi @Atze Witteveen? , In this case the command "map.apply-layer-preset" is expecting a single layer preset. If you change your command to:

     

    [

      {

        "name": "map.apply-layer-preset",

        "arguments": {

          "layerPreset": 

            "item://layer-preset/c3bafe77-0757-4c8d-9bee-b34c5e11fa23"      

        }

      }

    ]

     

    I believe it should work.

    0
  • Atze Witteveen

    @Scott Anderson?  Thank you! That did the trick 😀

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.