UNPKG

lml-main

Version:

This is now a mono repository published into many standalone packages.

25 lines (24 loc) 920 B
import * as React from 'react'; import { PositionModel } from '@lml/cosmo-ts-data'; import { MarkersState, PolygonsState } from '../../mapping/reducers'; import * as GoogleReducers from '../../google/reducers'; import * as Data from '../../mapping/data'; export interface MapProps { className: string; onClick: () => void; } export interface MapComponentProps extends MapProps { google: GoogleReducers.GoogleState; trafficShowing: boolean; center: PositionModel; directions: Data.DirectionsModel | null; polygons: PolygonsState; markers: MarkersState; panMap: (center: PositionModel) => any; showTraffic: () => any; hideTraffic: () => any; updateBounds: (ne: PositionModel, sw: PositionModel, center: PositionModel) => any; toggleMapFilter: (name: string) => any; markerClicked: (refId: string) => any; } export declare const Maps: React.ComponentClass<MapProps>;