Commit Graph

41 Commits

Author SHA1 Message Date
Masahiro Wakame
07a5117fcb Merge pull request #5127 from EnableSoftware/google-maps-3.20
Fix definition of `google.maps.GeocoderRequest()`
2015-08-03 01:18:07 +09:00
Chris Wrench
eea06e6fe9 Fix definition of google.maps.GeocoderRequest()
Fixes #4364.
2015-07-29 15:49:16 +01:00
Leo Romanovsky
7e2b64ccfa Added trailing semicolon.
Fixing compiler error.
2015-07-28 08:14:09 -07:00
Chris Wrench
a4623dbd70 Mark Google Maps options properties as optional.
Fixes #4364.
2015-07-20 16:05:11 +01:00
Chris Wrench
381072091d Fix definition of google.maps.InfoWindow.open().
Fixes #4364.
2015-07-13 17:25:26 +01:00
Chris Wrench
efd764c643 Fix typo in license 2015-07-06 13:22:22 +01:00
Chris Wrench
df6407f271 Update Google Maps definitions to v3.20
Fixes #4364.
2015-07-06 13:15:14 +01:00
FalloutPL
0c85dc3d18 Update google.maps.d.ts
Missing *overview_polyline* in DirectionsRoute as defined in: https://developers.google.com/maps/documentation/javascript/directions
2015-06-26 16:22:48 +02:00
Jan Trejbal
689ee644bb Add tests 2015-06-18 14:19:09 +02:00
Jan Trejbal
17f1434526 Fix PhpStorm lexical analysis 2015-06-18 14:17:53 +02:00
Jan Trejbal
98c5ba0d56 Add missing semicolons 2015-06-18 14:17:53 +02:00
Jan Trejbal
1e5786baef Fix MapTypeStyle (elementType and featureType accept only string) 2015-06-18 14:17:16 +02:00
mcivort
d3dd026976 Add ability to specify custom map types 2015-06-11 16:11:37 -06:00
Olivier Foissac
4ad9034a40 * Add comments from https://developers.google.com/maps/documentation/javascript/3.19/reference on MarkerOptions, Symbol, SymbolPath, InfoWindow, InfoWindowOptions, LatLng, Point.
* Add missing interface google.maps.Icon.
2015-06-03 18:57:03 +02:00
Chris Wrench
3e467db265 Begin update of Google Maps definitions to v3.20
As part of #4364, update some of the Google Maps API to the latest
version, v3.20.

Changes include:

- Addition of `LatLngLiteral` type;
- Remove `MarkerImage` type;
- Update `Marker` class.

The following areas of the API have been updated and checked for
consistency with the latest API reference:

- Map;
- Controls;
- Data;
- Overlays;
- Services;
- Save to Google Maps;
- Base;
- MVC.

All other areas of the API still need to be updated.
2015-05-27 17:24:46 +01:00
Chris Wrench
241e3f2fc7 Fix issue with Polygon and MultiPolygon contructors 2015-05-18 08:35:03 +01:00
Chris Wrench
79fe4ff375 Add missing Google Maps Data Layer API
Fixes #2249.

- Add a `data` property to the `Map` class.
- Add Google Maps test file and Data Layer API tests.
- Add the following classes and interfaces which form the Data Layer API:

  - `Data`
  - `Data.DataOptions`
  - `Data.GeoJsonOptions`
  - `Data.StyleOptions`
  - `Data.StylingFunction`
  - `Data.Feature`
  - `Data.FeatureOptions`
  - `Data.Geometry`
  - `Data.Point`
  - `Data.MultiPoint`
  - `Data.LineString`
  - `Data.MultiLineString`
  - `Data.LinearRing`
  - `Data.Polygon`
  - `Data.MultiPolygon`
  - `Data.GeometryCollection`
  - `Data.MouseEvent`
  - `Data.AddFeatureEvent`
  - `Data.RemoveFeatureEvent`
  - `Data.SetGeometryEvent`
  - `Data.SetPropertyEvent`
  - `Data.RemovePropertyEvent`
2015-05-15 14:50:38 +01:00
Alasdair Mercer
45595b7509 updated places sub-module for google.maps 2015-05-13 18:40:00 +01:00
Adrien Kohlbecker
1a3e3a11f4 Add google places AutocompleteService 2015-04-11 15:38:52 +02:00
Jared Kells
6eaa9d0a16 The data property can be an MVCArray or LatLng[]. All other properties are optional 2014-11-12 10:36:14 +11:00
Simon Lovely
b4571c30c2 Updated "google.maps.geometry.poly" to static
The 'poly' class should be static (as already correctly marked on the 'spherical' class).
2014-09-22 18:08:22 +01:00
colinbreame
8afb1c1a5f Make AutocompleteOptions optional
The maps API treats the members of AutocompleteOptions as optional - update typings to reflect this.
2014-04-20 15:11:50 +01:00
44ka28ta
adbdf2705f fix the return type of google.maps.Polygon.getPaths 2014-03-13 03:32:59 +09:00
Johan Nilsson
acf9de177a StreetView : bool => StreetViewControl:bool
Added StreetView: StreetViewPanorama
2014-02-17 21:59:39 -04:00
Masahiro Wakame
01c8bbcd47 Merge pull request #1593 from 44ka28ta/fixPrototype
Fix a minor definition.
2014-01-27 17:24:59 -08:00
Bartvds
03eecbb681 added/fixed headers e-i
https://github.com/borisyankov/DefinitelyTyped/issues/1570
2014-01-24 00:19:24 +01:00
44ka28ta
ed65b59f16 fix the return type of google.maps.geometry.encoding.decodePath. 2014-01-22 22:37:54 +09:00
Christopher McGinnis
6889109c5e Added the SearchBox class and SearchBoxOptions interface to the places namespace 2013-11-29 15:26:32 -08:00
Dmitrij Koniajev
f66d407c43 fixed getTileUrl method signature of ImageMapTypeOptions interface 2013-10-05 18:25:36 +03:00
Gary Bortosky
2a33b4b43e fixed implicit any in google.maps.d.td 2013-09-15 10:38:02 -05:00
Boris Yankov
ba2c8c2b1e Fix google.maps definitions 2013-08-07 18:44:33 +03:00
Boris Yankov
dd35f69637 Big replacement: bool with boolean 2013-08-07 16:59:39 +03:00
JohnDoeKyrgyz
5cd47a63c4 Update google.maps.d.ts
Removing redundant specification of the MVCObject.setValues method. 'undefined' is incompatible with TypeScript 0.9.
2013-06-19 16:23:50 -05:00
Dmitrij Koniajev
2ec2e3d37e Added controls, mapTypes, overlayMapTypes to Map class.
ImageMapType extends MVCObject implements MapType.
Added getTile, releaseTile to ImageMapType class.
2013-05-11 15:52:55 +03:00
Diullei Gomes
624b452c72 Merge pull request #509 from kingdango/master
googlemaps: Added missing optional operator in PolylineOptions interface def
2013-05-02 17:33:10 -07:00
Aaron King
3ad0ca30db Added missing optional operator in PolylineOptions 2013-05-02 09:04:39 -04:00
Dmitrij Koniajev
f7331a6aa3 Added optional properties navigationControl, navigationControlOptions to MapOptions.
Exported new interface NavigationControlOptions and enum NavigationControlStyle.
2013-05-01 00:50:16 +03:00
qcz
4ac9537227 Various Google Maps definition fixes
- Added draggable to various overlay objects
- Added StrokePosition to PolygonOptions, CircleOptions and
RectangleOptions.
- Fixed MVCArray return and argument types for overlay objects' path
methods.
- Fixed DrawingManagerOptions and DrawingControlOptions interfaces, made
all properties optional.
- Made GeocoderRequest.address optional, it's not required when using a
LatLng for geocoding.
- Fixed SteetViewPov.pitch typo.
- Added addListener to MVCObject
2013-04-27 12:41:41 +02:00
qcz
869bbb7a2a Google Maps: StreetViewService should be a class 2013-03-23 15:33:24 +01:00
Shubhranshu
a5cc882d7b Update googlemaps/google.maps.d.ts
Added constant MAX_ZINDEX
2012-11-21 11:58:56 +13:00
Boris Yankov
c91c45f9ae Move definitions and test in separate folders
This enables each definition to have a readme if necessary.
Also a .json metadata file to help with package managers.
And last, to have different versions of the definitions.
2012-11-18 22:28:44 +02:00