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.
18 lines (14 loc) • 611 B
TypeScript
import React from 'react';
declare const MapComponent: ({ RoutePoint, GoogleResult, markerOnClick, addNewRoutePoint, googleMapsApiKey, justDrawRoute, }: {
RoutePoint: Object[];
GoogleResult: (e: any) => void;
markerOnClick: (e: any) => void;
addNewRoutePoint: (location: Object, event: Object, RouteIndex: number) => void;
googleMapsApiKey: string;
justDrawRoute?: Object[];
}) => React.JSX.Element;
declare const MapSelectLocation: ({ address, onResult, }: {
address: string;
onResult: (res: any) => void;
}) => React.JSX.Element;
export { MapComponent, MapSelectLocation };