Aller au contenu principal

Add WMS layer

Répondu

Commentaires

2 commentaires

  • 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

Vous devez vous connecter pour laisser un commentaire.