UNPKG

google-maps-route-creator

Version:

Google Maps Route Creator is a tool that helps you to create a route on Google Maps and calculate the distance between the points.

20 lines (16 loc) 695 B
import React from 'react'; declare const MapComponent: ({ RoutePoint, GoogleResult, markerOnClick, addNewRoutePoint, googleMapsApiKey, justDrawRoute, CustomMarkers, polylineOptions, }: { RoutePoint: Object[]; GoogleResult: (e: any) => void; markerOnClick: (e: any) => void; addNewRoutePoint: (location: Object, event: Object, RouteIndex: number) => void; googleMapsApiKey: string; justDrawRoute?: Object[]; CustomMarkers?: any; polylineOptions?: any; }) => React.JSX.Element; declare const MapSelectLocation: ({ address, onResult, }: { address: string; onResult: (res: any) => void; }) => React.JSX.Element; export { MapComponent, MapSelectLocation };