From be2cf706db063be08f28eee9d30ab7c618d51a96 Mon Sep 17 00:00:00 2001 From: ConnectedWanderer <38836696+ConnectedWanderer@users.noreply.github.com> Date: Tue, 5 Feb 2019 21:15:36 +0100 Subject: [PATCH] fix on custom-map-controller.md (#715) --- docs/advanced/custom-map-controller.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/advanced/custom-map-controller.md b/docs/advanced/custom-map-controller.md index 60caf32f..0619c9dd 100644 --- a/docs/advanced/custom-map-controller.md +++ b/docs/advanced/custom-map-controller.md @@ -2,7 +2,7 @@ ## Overriding The Default Map Controller -To change the default behavior of map interaction, you can provide a custom map control to the `mapController` prop of `InteractiveMap`. +To change the default behavior of map interaction, you can provide a custom map control to the `controller` prop of `InteractiveMap`. This custom map control must offer the following interface: - `setOptions(options)` - called by `InteractiveMap` when props change. @@ -11,7 +11,7 @@ This custom map control must offer the following interface: const mapController = new MyMapController(); render() { - return ; + return ; } ```