Module: feature

To Do:
  • Complete documentation.

Members

(static) caches

(static) currentCluster

(static) features

URL naar een statisch boringen bestand in gml formaat

(static) highlightlayer

Laag. Wordt geiniteerd met de functie dbkobject.show() kan worden overruled

(static) layer

(static) selection

(static) showlabels

(static) timer

Methods

(static) featureInfohtml()

(static) get()

(static) getActive()

(static) getDbkSearchValue()

Override this function to customize the search (and display) string of DBK's, for example to include address:

Example
dbkjs.modules.feature.getDbkSearchValue = function(feature) {
      var t = feature.attributes.formeleNaam + ' ' +
        (dbkjs.util.isJsonNull(feature.attributes.informeleNaam) ?
          '' :
          feature.attributes.informeleNaam);
      if(feature.attributes.adres && feature.attributes.adres.length > 0) {
        var a = feature.attributes.adres[0];
        t += ", " + a.openbareRuimteNaam;
        t += !dbkjs.util.isJsonNull(a.huisnummer) ? " " + a.huisnummer : "";
        t += !dbkjs.util.isJsonNull(a.huisletter) ? a.huisletter : "";
        t += !dbkjs.util.isJsonNull(a.huisnummertoevoeging) ? " " +
          a.huisnummertoevoeging : "";
        if(!dbkjs.util.isJsonNull(a.postcode) || !dbkjs.util.isJsonNull(a.woonplaatsNaam)) {
            t += ", ";
        }
        t += !dbkjs.util.isJsonNull(a.postcode) ? a.postcode : "";
        t += !dbkjs.util.isJsonNull(a.woonplaatsNaam) ? " " + a.woonplaatsNaam : "";
      }
      return t;
    }

(static) getDbkSearchValues()

(static) getfeatureinfo()

(static) getOmsSearchValues()

(static) handleDbkOmsSearch()

(static) register()

(static) search_dbk()

(static) search_oms()

(static) showFeatureInfo()

(static) zoomToFeature()

(static) zoomToPandgeometrie()

Events

handleFeatureTitleClick