From 14dbf9b7ec6ae9d40a9b5326b87dca1786aec355 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1igo=20Medina?= Date: Thu, 12 Apr 2018 13:05:14 +0200 Subject: [PATCH] Create 10-Google-maps-layers.md --- docs/reference/10-Google-maps-layers.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 docs/reference/10-Google-maps-layers.md diff --git a/docs/reference/10-Google-maps-layers.md b/docs/reference/10-Google-maps-layers.md new file mode 100644 index 0000000..4777307 --- /dev/null +++ b/docs/reference/10-Google-maps-layers.md @@ -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