From 64d9db5e54c7f963e24fb10202fa0ef15bc5dca3 Mon Sep 17 00:00:00 2001 From: Matt Brookes Date: Wed, 11 Nov 2015 23:43:29 +0000 Subject: [PATCH] Add docs for margin. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c3347df..7780d90 100644 --- a/README.md +++ b/README.md @@ -153,6 +153,8 @@ Default: 30 ####margin (array) +In onChange callback, gives you a marginBounds argument property, where lat lng will be shifted using margin you have set. For example, you could use a simple check pointInRect to not show Markers near map bounds. + ####debounced (bool) Default: true