@types/leaflet-routing-machine
Advanced tools
Comparing version 3.2.3 to 3.2.4
@@ -86,13 +86,13 @@ // Type definitions for leaflet-routing-machine 3.2 | ||
maxGeocoderTolerance?: number | undefined; | ||
geocoderPlaceholder?: ((waypointIndex: number, numberWaypoints: number) => string) | undefined; | ||
geocoderPlaceholder?: ((waypointIndex: number, numberOfWaypoints: number) => string) | undefined; | ||
geocodersClassName?: string | undefined; | ||
geocoderClass?: ((waypointIndex: number, numberWaypoints: number) => void) | undefined; | ||
geocoderClass?: ((waypointIndex: number, numberOfWaypoints: number) => void) | undefined; | ||
waypointNameFallback?: ((latLng: LatLng) => string) | undefined; | ||
createGeocoder?: ((waypointIndex: number, numberWaypoints: number, plan: Plan) => {}) | undefined; | ||
createGeocoder?: ((waypointIndex: number, numberOfWaypoints: number, plan: Plan) => {}) | undefined; | ||
addButtonClassName?: string | undefined; | ||
createMarker?: ((waypointIndex: number, waypoint: Waypoint, numberWaypoints: number) => Marker) | undefined; | ||
createMarker?: ((waypointIndex: number, waypoint: Waypoint, numberOfWaypoints: number) => Marker | boolean) | undefined; | ||
routeWhileDragging?: boolean | undefined; | ||
reverseWaypoints?: boolean | undefined; | ||
language?: string | undefined; | ||
createGeocoderElement?: ((waypoint: Waypoint, waypointIndex: number, numberWaypoints: number, options: PlanOptions) => GeocoderElement) | undefined; | ||
createGeocoderElement?: ((waypoint: Waypoint, waypointIndex: number, numberOfWaypoints: number, options: PlanOptions) => GeocoderElement) | undefined; | ||
} | ||
@@ -196,3 +196,3 @@ | ||
class GeocoderElement { | ||
constructor(wp: Waypoint, i: number, numberWaypoints: number, options: GeocoderElementOptions); | ||
constructor(waypoint: Waypoint, i: number, numberOfWaypoints: number, options: GeocoderElementOptions); | ||
@@ -207,3 +207,3 @@ getContainer(): HTMLElement; | ||
createGeocoder?: ((i: number, nWps: number, options: GeocoderElementOptions) => any) | undefined; | ||
geocoderPlaceholder?: ((i: number, numberWaypoints: number, geocoderElement: GeocoderElement) => string) | undefined; | ||
geocoderPlaceholder?: ((i: number, numberOfWaypoints: number, geocoderElement: GeocoderElement) => string) | undefined; | ||
geocoderClass?: (() => string) | undefined; | ||
@@ -346,3 +346,3 @@ waypointNameFallback?: ((latLng: LatLng) => string) | undefined; | ||
function geocoderElement(waypoint: Waypoint, i: number, numberWaypoints: number, options: GeocoderElementOptions): GeocoderElement; | ||
function geocoderElement(waypoint: Waypoint, i: number, numberOfWaypoints: number, options: GeocoderElementOptions): GeocoderElement; | ||
@@ -375,3 +375,3 @@ function itineraryBuilder(options?: ItineraryBuilderOptions): ItineraryBuilder; | ||
function geocoderElement(waypoint: Routing.Waypoint, i: number, numberWaypoints: number, options: Routing.GeocoderElementOptions): Routing.GeocoderElement; | ||
function geocoderElement(waypoint: Routing.Waypoint, i: number, numberOfWaypoints: number, options: Routing.GeocoderElementOptions): Routing.GeocoderElement; | ||
@@ -378,0 +378,0 @@ function itineraryBuilder(options?: Routing.ItineraryBuilderOptions): Routing.ItineraryBuilder; |
{ | ||
"name": "@types/leaflet-routing-machine", | ||
"version": "3.2.3", | ||
"version": "3.2.4", | ||
"description": "TypeScript definitions for leaflet-routing-machine", | ||
@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet-routing-machine", | ||
}, | ||
"typesPublisherContentHash": "a5e8f620e36111ff2b52ac3e88d049df80404b72ab97a78b6bea7110f667a029", | ||
"typeScriptVersion": "3.9" | ||
"typesPublisherContentHash": "2e2a5ce22059551b81a1663e780051a7aa79d2f7d03058b11845fcc5b0c2b16a", | ||
"typeScriptVersion": "4.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 08 Jul 2021 16:23:36 GMT | ||
* Last updated: Tue, 28 Jun 2022 19:40:24 GMT | ||
* Dependencies: [@types/leaflet](https://npmjs.com/package/@types/leaflet) | ||
@@ -14,0 +14,0 @@ * Global values: none |
18085