Namespace: ALS

ALS

Root object containing all Layer System stuff.

Layer System contains these important "subsystems":

  1. System itself. See L.ALS.System docs for examples of general usage.
  2. Layers. See L.ALS.System example on how to create a basic layer:
    1. 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.
    2. Wizards - widgetables (see below) that provides initial layer parameters. See L.ALS.Wizard for examples of general usage.
    3. Settings - widgetables that provides settings for your layers. See L.ALS.Settings for examples of general usage.
  3. Widget system:
    1. Widgetables - containers for widgets. See L.ALS.Widgetable docs for examples of general usage.
    2. Widgets. See L.ALS.Widgets for examples of general usage. See L.ALS.Widgets.BaseWidget for examples on how to create custom widgets.
  4. 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.
  5. Locales - allows you to localize your whole application. See L.ALS.Locales docs for examples on how to use it.
  6. Useful helpers. See L.ALS.Helpers.
  7. Zoom control which matches ALS aesthetics. See L.ALS.ControlZoom.
  8. Patches:
    1. 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.
    2. 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

Helpers
LeafletLayers
Locales
Widgets

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