Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LeafletHelper

Helper class for Leaflet. Contains methods to zoom to a location and add/remove a model to the map.

You can play with a(n) (angular or react) demo on stackblitz.

Hierarchy

  • LeafletHelper

Implements

Index

Constructors

constructor

  • Parameters

    • map: any
    • L: any

    Returns LeafletHelper

Properties

Private L

L: any

Private _objectCache

_objectCache: object

Type declaration

  • [key: string]: any

map

map: any

Methods

addPlottable

clearPlottables

  • clearPlottables(): void

getAuthenticatedUrl

  • getAuthenticatedUrl(p: PlottableModel<any>, file: string, tier?: number): Promise<string[]>

getMapObjectFor

Private keyFor

removePlottable

  • removePlottable(p: any): void
  • Parameters

    • p: any

    Returns void

sendCameraTo

  • sendCameraTo(p: PlottableModel<any>, duration?: number, args?: any): Observable<any>
  • Parameters

    Returns Observable<any>

Generated using TypeDoc