From 8296d74f4559e5a23ed818b363cd431f3486c235 Mon Sep 17 00:00:00 2001 From: Fawad Mirzad Date: Tue, 10 May 2022 15:57:42 +0200 Subject: [PATCH] Add example for creating custom controls --- .../examples/how-to-add-custom-controls.md | 105 ++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 docs/src/examples/how-to-add-custom-controls.md diff --git a/docs/src/examples/how-to-add-custom-controls.md b/docs/src/examples/how-to-add-custom-controls.md new file mode 100644 index 0000000..182f6e3 --- /dev/null +++ b/docs/src/examples/how-to-add-custom-controls.md @@ -0,0 +1,105 @@ +# How to add custom controls + +[Interactive example on Condesandbox](https://stackblitz.com/edit/vue-google-maps-marker-ry3zf7?file=src/components/ComponentWithMap.vue) + + +To add custom controls, you can access google maps object and add controls to it, look at this example or follow the interactive example on condesandbox above. + + +## Example + +```bash + + + + + +```