Changes between Version 7 and Version 8 of PostNASMapbender3


Ignore:
Timestamp:
04/14/14 17:28:25 (10 years ago)
Author:
astrid.emde
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PostNASMapbender3

    v7 v8  
    141141 
    142142 
    143 * Konfiguration Flurstücks- und Adressuche 
     143* Konfiguration Adressuche 
    144144{{{ 
    145 target: 53 
    146 asDialog: true 
    147 autoOpen: false 
    148 timeoutFactor: 2 
    149 routes: 
    150     alkis_flurstueck: { title: Flurstück, class: Mapbender\CoreBundle\Component\SQLSearchEngine, class_options: { connection: alkis, relation: qry_mb3_ax_flurstueck_suche , attributes: [gml_id, gemarkungsnummer, flurnummer, zaehler, nenner, flurstueckskennzeichen], geometry_attribute: the_geom_etrs }, form: { gemarkungsnummer: { type: text, options: { required: true, attr: { data-autocomplete: on } } },flurnummer: { type: text, options: { required: true, attr: { data-autocomplete: on } } }, zaehler: { type: text, options: { required: true, attr: { data-autocomplete: on } } },  nenner: { type: text, options: { required: false, attr: { data-autocomplete: on } } }, flurstueckskennzeichen: { type: text, options: { required: false, attr: { data-autocomplete: on } } } }, results: { view: table, headers: { flurstueckskennzeichen: Flurstückskennzeichen}, callback: { event: click, options: { buffer: 80 } } } }                                       
    151     alkis_adresse: { title: Adresse, class: Mapbender\CoreBundle\Component\SQLSearchEngine, class_options: { connection: alkis, relation: qry_mb3_adresse_suche , attributes: [kreis, gemeinde, bezeichnung, hausnummer], geometry_attribute: the_geom_etrs }, form: { gemeinde: { type: text, options: { required: false, attr: { data-autocomplete: off } } },bezeichnung: { type: text, options: { required: false, attr: { data-autocomplete: on } } }, hausnummer: { type: text, options: { required: false, attr: { data-autocomplete: off } } } }, results: { view: table, headers: { bezeichnung: Straße, hausnummer: Hausnummer}, callback: { event: click, options: { buffer: 30 } } } } 
     145class: Mapbender\CoreBundle\Component\SQLSearchEngine 
     146class_options: 
     147    connection: alkis 
     148    relation: qry_mb3_adresse_suche 
     149    attributes: 
     150        - kreis 
     151        - gemeinde 
     152        - bezeichnung 
     153        - hausnummer 
     154    geometry_attribute: the_geom_etrs 
     155form: 
     156    gemeinde: 
     157        type: text 
     158        options: 
     159            required: false 
     160        compare: exact 
     161    bezeichnung: 
     162        type: text 
     163        options: 
     164            required: false 
     165            label: Straße 
     166            attr:  # HTML attributes to inject 
     167                data-autocomplete: on  # this triggers autocomplete 
     168                data-autocomplete-distinct: on  
     169        compare: ilike 
     170    hausnummer: 
     171        type: text 
     172        options: 
     173            required: false 
     174        compare: exact 
     175results: 
     176    view: table 
     177    headers: 
     178        bezeichnung: Straße 
     179        hausnummer: Hausnummer 
     180    callback: 
     181        event: click 
     182        options: 
     183            buffer: 40 
     184            minScale: null 
     185            maxScale: null 
     186}}} 
     187 
     188Gemeinde mit Auswahlbox 
     189{{{ 
     190    gemeinde: 
     191        type: text 
     192        options: 
     193            empty_value: ...bitte Gemeinde auswählen 
     194                choices: 
     195                    103: Osann-Monzel 
     196                    104: Test 
    152197 
    153198}}}