Skip to content

EsriWebMap

andy.rothwell edited this page Aug 25, 2018 · 1 revision

EsriLeaflet/EsriWebMap

Example:

<!-- webmap -->
<esri-web-map>
  <esri-web-map-layer v-for="(layer, key) in this.$store.state.map.webMapLayersAndRest"
                      v-if="shouldShowFeatureLayer(layer)"
                      :key="key"
                      :layer="layer.layer"
                      :layerName="layer.title"
                      :layerDefinition="layer.rest.layerDefinition"
                      :opacity="layer.opacity"
                      :type="layer.type2"
  />
</esri-web-map>
Clone this wiki locally