Type alias gmfOptions

gmfOptions: {
    controlZoom: OlControlZoomOptions;
    cssVars: {
        [x: string]: string;
    };
    geolocalisation?: boolean;
    interationDefaults?: OlInteractionDefaultsOptions;
    map: MapConfig;
    mapControls?: OlControlControl[];
    mapInteractions?: OlInteractionInteraction[];
    showInfobar?: boolean;
    view: View;
    zoom: number;
}

The application wide options.

Type declaration

  • controlZoom: OlControlZoomOptions

    The zoom control options

  • cssVars: {
        [x: string]: string;
    }

    The css variables, in particular brand-primary and brand-secondary that will set all the branding.

    • [x: string]: string
  • Optional geolocalisation?: boolean

    Show the geolocalisation button.

  • Optional interationDefaults?: OlInteractionDefaultsOptions

    The map interactions.

  • map: MapConfig

    The map definition.

  • Optional mapControls?: OlControlControl[]

    The map control.

  • Optional mapInteractions?: OlInteractionInteraction[]

    The map interactions.

  • Optional showInfobar?: boolean

    Show the information bar.

  • view: View

    The view definition.

  • zoom: number

    The default zoom.

Generated using TypeDoc