Root object containing all Layer System stuff.
Layer System contains these important "subsystems":
- System itself. See
L.ALS.Systemdocs for examples of general usage. - Layers. See
L.ALS.Systemexample 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.Layerdocs for examples on how to create custom layers. - Wizards - widgetables (see below) that provides initial layer parameters. See
L.ALS.Wizardfor examples of general usage. - Settings - widgetables that provides settings for your layers. See
L.ALS.Settingsfor 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.Widgetabledocs for examples of general usage. - Widgets. See
L.ALS.Widgetsfor examples of general usage. SeeL.ALS.Widgets.BaseWidgetfor examples on how to create custom widgets.
- Widgetables - containers for widgets. See
- Serialization and deserialization - used to save and load projects. See
L.ALS.Serializabledocs for examples on how to use it and create custom mechanisms. - Locales - allows you to localize your whole application. See
L.ALS.Localesdocs 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.Localesfor that. -
<static> operationsWindow :L.ALS.OperationsWindow
-
A loading window for your long-running operations
Type:
-
<static> version
-
Current ALS version
- Since:
-
- 2.1.8