Create 10-Google-maps-layers.md

This commit is contained in:
Iñigo Medina 2018-04-12 13:05:14 +02:00 committed by GitHub
parent 29bf52a70b
commit 14dbf9b7ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,12 @@
### Google Maps Layers
#### GMapsTorqueLayer(_options_)
This class does exactly the same as ``L.TorqueLayer`` but using Google Maps instead. The main difference is that this class
is not a layer but is an overlay, so in order to add it to the a map use, ``layer.setMap`` instead of ``overlayMapTypes``. See the [Overlay View](https://developers.google.com/maps/documentation/javascript/reference#OverlayView) reference in Google Maps API doc.
##### Options
Name | Description
--- | ---
map | A google.maps.Map instance