Commit Graph

44 Commits

Author SHA1 Message Date
vidi42
34475b21d6 Changed parameter query to phoneNumber in googlemaps service. Closes #29308 (#29744)
* Closes #29308

* Changed parameter `query` to `phoneNumber` in googlemaps service. Closes #29308

* Changed executeSync `params` parameter to optional Closes: #29844

* Revert "Changed executeSync `params` parameter to optional Closes: #29844"

This reverts commit c57d941a9f.
2018-10-22 08:49:02 -07:00
Jeremy Shore
8b63c2bc82 Fields option for AutoCompleteOptions was missing (#29718) 2018-10-15 09:47:34 -07:00
Brett Morgan
7fd8a1b5a5 GoogleMaps: Adding aspects to PlaceResult (#29627)
Replaces https://github.com/DefinitelyTyped/DefinitelyTyped/pull/28370
2018-10-11 10:43:05 -07:00
Brett Morgan
1699b04f17 clang-format -style=Google -i types/googlemaps/index.d.ts 2018-08-29 15:05:56 +10:00
Michael Gauthier
8bdeb034ea Add new types for autocomplete session support
See:

 - https://developers.google.com/maps/documentation/javascript/places-autocomplete#session_tokens
 - https://developers.google.com/maps/documentation/javascript/reference/places-autocomplete-service#AutocompleteSessionToken
 - https://developers.google.com/maps/documentation/javascript/reference/places-service#PlaceDetailsRequest
 - https://developers.google.com/maps/documentation/javascript/reference/places-autocomplete-service#AutocompletionRequest
2018-08-13 19:05:21 -03:00
Achim Weimert
84c222d10b googlemaps: adapt to api changes (#26954)
* add missing response status codes

Added response status codes according to:
https://developers.google.com/maps/documentation/javascript/places#place_details_responses

* mark radarSearch as deprecated

https://developers.google.com/maps/documentation/javascript/places#radar_search_requests

* add new find places apis

https://developers.google.com/maps/documentation/javascript/places#find_place_requests
- findPlaceFromPhoneNumber()
- findPlaceFromQuery()

* add new fields parameter for place detail requests

https://developers.google.com/maps/documentation/javascript/places#place_search_fields

* add simple tests
2018-07-05 10:18:16 -07:00
alvarogtx300
a25b54646e Added optional "padding" argument to panToBounds method 2018-06-14 18:25:50 +02:00
Umar Bolatov
7f820b490e Fix #25954 2018-05-22 22:06:29 -07:00
Mark van Beek
5f8c758b5d Add explicit "null" to controls and drawingMode inside DataOptions 2018-03-14 11:28:29 +01:00
Mark van Beek
f49b476c72 [FIX] googlemaps
- Update google.maps.Data.DataOptions.controls to use DrawingMode instead of string
- Update google.maps.Data.DataOptions.drawingMode to use DrawingMode instead of string
- Fix typo in KmlLayer (setZIndez -> setZIndex)
- Add setOptions to KmlLayer
2018-03-13 17:13:57 +01:00
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Daniel Rosenwasser
2caf1747d0
Merge pull request #23488 from knownasilya/patch-1
fix(googlemaps): add null as valid type to DrawingManager.setDrawingMode parameter
2018-02-13 10:38:14 -08:00
Ilya Radchenko
5bc3f3c96b
fix: add null to DrawingManager.setDrawingMode
Notice the docs here https://developers.google.com/maps/documentation/javascript/3.exp/reference#DrawingManager in the description it says `null` is a valid argument
2018-02-07 14:49:30 -05:00
Xavier Campenon
21fda8cd9c
@types/googlemaps Add setClickableIcons
setClickableIcons method was missing in Map object
See https://developers.google.com/maps/documentation/javascript/reference
2018-02-06 17:47:58 +01:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Niall
27b74af5a2 Update googlemaps fitbounds method to include padding (#23071)
fitbounds has an optional second argument: padding.

reference: https://developers.google.com/maps/documentation/javascript/reference (see Methods section, first method).
2018-01-23 10:32:48 -08:00
Simas Toleikis
aca6793745 Added pagination param to textSearch callback. (#22506) 2018-01-02 12:40:32 -08:00
blink7
9d8c0fb8b4
Update index.d.ts
Add handling for AutocompletePrediction's reference and structured formatting.
2017-12-14 17:39:33 +03:00
Grant Hutchins
9948fee417
Revert "[@types/googlemaps] Fixing GeocoderRequest wrong property names" 2017-12-12 15:30:51 -06:00
Gerardo Rosciano
ab175f0655
Fixed GeocoderRequest.components
geocoderRequest componentRestrictions had a wrong name. fixed
2017-12-05 15:16:43 -03:00
Sven Kreiss
5f773b1a47 increase version number 2017-11-09 13:17:14 -05:00
Sven Kreiss
1cd172921d make docstring and type consistent 2017-11-09 13:04:55 -05:00
Andy
19f89399e4 Ensure every package has a tslint.json (#21009)
* Ensure every package has a tslint.json

* Fixes
2017-10-25 11:13:50 -07:00
Brian Schantz
a4f3e19300 StreetViewPanorama extends MVCObject (#20405) 2017-10-09 14:39:31 -07:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
benny-medflyt
b55cd34ad7 Fix DistanceMatrixRequest to support LatLngLiteral (#20179) 2017-10-02 10:32:42 -07:00
Amrit Kahlon
6b311ae780 version bump 2017-09-14 19:28:40 -07:00
Amrit Kahlon
6f17ccf054 Added some missing members for google maps opening_hours 2017-09-14 19:22:33 -07:00
Malte Modrow
026c2aba52 refactor(googlemaps): update drivingOptions and transitOptions 2017-08-17 12:49:49 +02:00
John M. Wright
d65fe3323d allowing ComponentRestrictions as string|string[]
Google API allows the Autocomplete ComponentRestrictions to be either a single string (`{'country': 'us'}`) or a string array (`{'country': ['us','gb','fr']}`)

Reference: 
Single value: https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-hotelsearch
Multiple values: https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-multiple-countries
(
2017-08-15 16:46:52 -05:00
doomsower
a9ed4cd4b9 [@types/googlemaps] Improve some Data and Geometry definitions 2017-08-15 11:28:29 +03:00
lobo87
869871c069 googlemaps: possibility to use an array for the property country in GeocoderComponentRestrictions class (#18212)
* added cordova-plugin-native-keyboard

* updated to conform linting checks

* onSubmit callback is now optional

* added possibility to use an array for the property country in GeocoderComponentRestrictions
2017-07-24 10:10:04 -07:00
benny-medflyt
82a14c721f [googlemaps] Fix DirectionsRequest to support LatLngLiteral 2017-07-09 14:42:26 +03:00
Louw Swart
f4681fbc11 Revert "Include reference path in test to enable typescript compile test"
This reverts commit b652e1a589.
2017-07-04 19:51:24 +12:00
Louw Swart
b652e1a589 Include reference path in test to enable typescript compile test 2017-07-04 19:44:36 +12:00
Louw Swart
729f206bde Updated elementType and featureType of MapTypeStyles which breaks after typescript@2.4.1 2017-07-04 19:28:32 +12:00
Kasidit Iamthong
6c22ae1eb6 Update getBounds()'s return type
According to Google Maps JavaScript API V3 Reference, `getBounds()` method on `Map` class can also return `null` or `undefined`.
2017-06-11 20:28:00 +07:00
ysgk
b61702aa0a Fixed google.maps.DirectionsResult interface (#16787) 2017-06-02 08:36:18 -07:00
Ronan
86f8d59e5a Added single type option to AutocompleteOptions in googlemaps types (#16376)
* added single type option to AutocompleteOptions interface

* Made type in autocompleteoptions optional
2017-06-01 08:30:30 -07:00
Martin Costello
ce6ecda5cd Add support for gestureHandling for Google Maps (#16287)
Add support for the gestureHandling property on the MapOptions
interface.
2017-05-03 11:36:44 -07:00
Olivier
31185fe81a Add generics support to MVCArray. (#15432)
Tests cleaning.
2017-04-25 07:52:56 -07:00
grapswiz
3a5fb83457 googlemaps: add motionTracking settings on StreetViewPanorama 2017-04-06 19:07:59 +09:00
Olivier Foissac
26414f9c0f Add jsdoc and IconMouseEvent. 2017-03-28 11:55:08 +02:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00