new SchulenEinzugsgebieteThemeModel()
modules/tools/gfi/themes/bildungsatlas/schulenEinzugsgebiete/model.js, line 61
Properties:
Name | Type | Default | Description |
---|---|---|---|
C_S_Name |
String | "" | Schulname |
C_S_Nr |
String | "" | SchulId |
C_S_Str |
String | "" | Straßenname |
C_S_HNr |
String | "" | Hausnummer |
C_S_PLZ |
String | "" | Postleitzahl |
C_S_Ort |
String | "" | Ort |
C_S_SuS_PS |
String | "" | Anzahl Grundschüler |
C_S_SuS_S1 |
String | "" | Anzahl Sekundarschüler |
C_S_SI |
String | "" | Sozialindex |
schoolKey |
String | "" | Kategorie zum stylen |
Fires:
- Core#event:RadioTriggerUtilIsViewMobileChanged
- Core.ModelList#event:RadioRequestModelListGetModelsByAttributes
- Core.ModelList#event:RadioRequestModelListGetModelByAttributes
- Core.ConfigLoader#event:RadioRequestParserGetItemByAttributes
- Core.ModelList#event:RadioTriggerModelListAddModelsByAttributes
Listens to Events:
- GFI#event:RadioTriggerGFISetIsVisible
- Layer#event:RadioTriggerLayerFeaturesLoaded
Extends
Methods
-
addStatisticAreasLayer(conf){Layer}
modules/tools/gfi/themes/bildungsatlas/schulenEinzugsgebiete/model.js, line 345 -
Creates new layer by given configuration
Name Type Description conf
object layer configuration Fires:
-
create(){void}
modules/tools/gfi/themes/bildungsatlas/schulenEinzugsgebiete/model.js, line 130 -
Sets this GFI
Listens to Events:
- Layer#event:RadioTriggerLayerFeaturesLoaded
-
destroy(){void}
modules/tools/gfi/themes/bildungsatlas/schulenEinzugsgebiete/model.js, line 161 -
Destroys this GFI and resets all layer data
-
filterAreasById(layer, id, schoolKey, countStudents){void}
modules/tools/gfi/themes/bildungsatlas/schulenEinzugsgebiete/model.js, line 183 -
Filters the areas by schoolId
Name Type Description layer
Layer Layer with statistical areas id
string schoolId schoolKey
string schoolKey countStudents
string countStudents -
filterFeature(layers, featureIds){void}
modules/tools/gfi/themes/bildungsatlas/schulenEinzugsgebiete/model.js, line 360 -
Hide all features in all given layers except all features with given id
Name Type Description layers
Array.<Layer> Layers filtered by gfiTheme featureIds
Array.<string> Array of feature Id to keep -
getCategory(value){string}
modules/tools/gfi/themes/bildungsatlas/schulenEinzugsgebiete/model.js, line 225 -
returns the category to render area features
Name Type Description value
float anteil in % -
getEinzugsgebieteLayer(){Array.<Layer>}
modules/tools/gfi/themes/bildungsatlas/schulenEinzugsgebiete/model.js, line 287 -
requests the Modellist for all layer of einzugsgebiete
Fires:
-
getStatisticAreasConfig(){object|false}
modules/tools/gfi/themes/bildungsatlas/schulenEinzugsgebiete/model.js, line 326 -
Requests the Parser for first layer with statistic areas by name
Fires:
-
getStatisticAreasLayer(){Layer|false}
modules/tools/gfi/themes/bildungsatlas/schulenEinzugsgebiete/model.js, line 304 -
Requests the Modellist for layer with layernameAreas. If necessary this function starts its creation.
Fires:
-
getText(value, countStudents){string}
modules/tools/gfi/themes/bildungsatlas/schulenEinzugsgebiete/model.js, line 214 -
returns the text as hover ionformation
Name Type Description value
float anteil in % countStudents
float count students -
onFeaturesLoadedEvent(layerId){void}
modules/tools/gfi/themes/bildungsatlas/schulenEinzugsgebiete/model.js, line 90 -
Fired only once when layer of statistical areas is loaded initially to filter areas
Name Type Description layerId
string layerId that was loaded -
onGFIIsVisibleEvent(visible){void}
modules/tools/gfi/themes/bildungsatlas/schulenEinzugsgebiete/model.js, line 79 -
Fired when GFI visibility changes
Name Type Description visible
boolean gfi visibility -
onIsVisibleEvent(gfi, isVisible){void}
modules/tools/gfi/themes/bildungsatlas/schulenEinzugsgebiete/model.js, line 113 -
Toggles the visibility of this GFI according to its visibitily.
Name Type Description gfi
object gfi object isVisible
Boolean is gfi visible -
parseGfiContent(gfiContent){boolean}
modules/tools/gfi/themes/bildungsatlas/schulenEinzugsgebiete/model.js, line 246 -
parses the gfiContent and sets all variables
Name Type Description gfiContent
object gfiContent Returns:
true if gfiContent could be parsed
-
unfilterFeature(layers){void}
modules/tools/gfi/themes/bildungsatlas/schulenEinzugsgebiete/model.js, line 373 -
Show all features in all given layers
Name Type Description layers
Array.<Layer> Layers to show
Events
-
inherited changeIsReady
devtools/jsdoc/events.js, line 1627 -
Triggered when gfi theme is loaded