Class GeocodingControl

Hierarchy

  • Control
    • GeocodingControl
Index

Constructors

Properties

on: CustomObjectOnSignature<EventsKey>
once: CustomObjectOnSignature<EventsKey>
un: CustomObjectOnSignature<EventsKey>

Methods

  • Clear geocoding search results from the map.

    Returns void

  • Focus the search input box.

    Parameters

    Returns void

  • Remove the control from its current map and attach it to the new map. Pass null to just remove the control from the current map. Subclasses may set up event handlers to get notified about changes to the map here.

    Parameters

    • map: Map | null

      Map.

    Returns void

  • Update the control options.

    Parameters

    • options: OpenLayersControlOptions

      options to update

    Returns void

  • Set the content of search input box.

    Parameters

    • value: string

      text to set

    • submit: boolean = true

      perform the search

    Returns void

  • Set reverse geocoding mode.

    Parameters

    • reverseActive: boolean

      reverse geocoding active

    Returns void

Was this helpful?

SDK JS
Modules
Reference
classes
GeocodingControl