View Source Eegis.ClientExample.AppCarg539 (eegis v0.1.13)

Link to this section Summary

Link to this section Functions

Link to this function

agol_campioni_query(sigl_cam)

View Source

Da sovrascrivere nell'applicazione client:

def app_name, do: :carg_539
Link to this function

crea_legenda(attrs \\ %{})

View Source
Link to this function

delete_legenda(atom, objectid)

View Source

Estrae da config/*.exs per l'applicazione corrente(appname()) :features_usr_srv

%{
  {:alai, :arpas} => %{
    carg_539_campioni: %{nome: "MOGORO_539", numero: 1},
    carg_539_igm: %{nome: "MOGORO_539", numero: 3},
    carg_539_legenda: %{nome: "MOGORO_539", numero: 4}
  },
  {:guest, :esri_lab} => %{lsgv1: %{nome: "Live_Stream_Gauges_v1", numero: 0}}
}
Link to this function

get_a_feature(atom_name, attrs \\ %{})

View Source
Link to this function

get_a_feature_desc(atom_name)

View Source

Per tutte le feature crea una mappa come da esempio:

%{
  carg_539_campioni: %{
    feature_srv: "https://servicesX.arcgis.com/yyyyyyyyyyyyyyyy/",
    nome: "MOGORO_539",
    numero: 1,
    usr_srv: {:alai, :arpas},
    attrs: %{
      "token=" => "molti caratteri 1YyrqfW4A.."
    }
  },
  carg_539_igm: %{
    feature_srv: "https://servicesX.arcgis.com/yyyyyyyyyyyyyyyy/",
    nome: "MOGORO_539",
    numero: 3,
    usr_srv: {:alai, :arpas},
    attrs: %{
      "token=" => "molti caratteri 1YyrqfW4A.."
    }
  }
}
Link to this function

get_legenda_by_objectid(objectid)

View Source
Link to this function

get_legenda_by_sigla(sigla)

View Source
Link to this function

get_legenda_by_uclege(uc_lege)

View Source
Link to this function

update_features(atom_name, features \\ %{})

View Source
Link to this function

update_legenda(features)

View Source