diff --git a/docs/advanced/custom-map-controller.md b/docs/advanced/custom-map-controller.md
index 60caf32f4..0619c9ddf 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 ;
}
```