Root object containing all Layer System stuff.
Layer System contains these important "subsystems":
- System itself. See
L.ALS.System
docs for examples of general usage. - Layers. See
L.ALS.System
example on how to create a basic layer:- Layers themselves. Those are not Leaflet layers but wrappers around theme. System works with these layers, not with Leaflet layers. See
L.ALS.Layer
docs for examples on how to create custom layers. - Wizards - widgetables (see below) that provides initial layer parameters. See
L.ALS.Wizard
for examples of general usage. - Settings - widgetables that provides settings for your layers. See
L.ALS.Settings
for examples of general usage.
- Layers themselves. Those are not Leaflet layers but wrappers around theme. System works with these layers, not with Leaflet layers. See
- Widget system:
- Widgetables - containers for widgets. See
L.ALS.Widgetable
docs for examples of general usage. - Widgets. See
L.ALS.Widgets
for examples of general usage. SeeL.ALS.Widgets.BaseWidget
for examples on how to create custom widgets.
- Widgetables - containers for widgets. See
- Serialization and deserialization - used to save and load projects. See
L.ALS.Serializable
docs for examples on how to use it and create custom mechanisms. - Locales - allows you to localize your whole application. See
L.ALS.Locales
docs for examples on how to use it. - Useful helpers. See
L.ALS.Helpers
. - Zoom control which matches ALS aesthetics. See
L.ALS.ControlZoom
. - Patches:
L.Layer#setInteractive
,L.Layer#getInteractive
,L.Layer#isInteractive
- patch made by Piero "Jadaw1n" Steinger which adds ability to set and check interactive state of Leaflet layers.- Serialization patches:
RegExp#serialize
,RegExp.deserialize
,L.LatLng#serialize
,L.LatLng.deserialize
Note: ALS uses Leaflet class system. Please, read about it at Leaflet docs.
Classes
- ControlManager
- ControlZoom
- EmptyWizard
- GeneralSettings
- Layer
- OperationsWindow
- Serializable
- Settings
- SidebarWindow
- System
- Widgetable
- WidgetableWindow
- Wizard
Namespaces
Members
-
<static> generalSettings :GeneralSettingsObject
-
General settings object. Updated automatically by ALS.
Type:
-
<static> locale
-
Current locale which contains both default and custom locale properties.
Use it only "one-time", for example, in
window.alert()
.Do NOT use it in HTML elements, use
L.ALS.Locales
for that. -
<static> operationsWindow :L.ALS.OperationsWindow
-
A loading window for your long-running operations
Type:
-
<static> version
-
Current ALS version
- Since:
-
- 2.1.8