Hoppa till huvudinnehållet

Add WMS layer

Besvarat

Kommentarer

2 kommentarer

  • Mark Hoyland

    So after playing around and finding a post from Berend https://community.vertigis.com/hc/en-us/community/posts/4416461970322-How-can-I-add-a-mapservice-to-a-map-from-a-workflow

    I got something working, yay,  however it is hard coded with WMS URL. Is there a way to prompt for a url and pass that in, or do I need to knock out a workflow to do it?

    And how do I enable Identify or show Popup?

    [
      {
        "name": "map.add-layers",
        "arguments": {
          "layers": {
            "id": "wms_3449",
            "layerType": "WMS",
            "visibility": true,
            "visibleLayers": [
              "nexrad-n0r"
            ],
            "opacity": 1,
            "title": "IEM WMS Service",
            "version": "1.3.0",
            "itemId": "",
            "layers": []
          }
        }
      }
    ]

     

     

    1
  • Cam Barnard

    You've hit upon the crux of why we haven't so far allowed direct addition of layers via URL ... if we did that then how would we also allow you to configure all the other information associated with the layer like which fields to show in the pop-up or what is searchable ... all of which is currently defined in the Esri portal interfaces. 

    3

Du måste logga in om du vill lämna en kommentar.