From 5aa6cca4c5e29e96050908700fc607556e9c90af Mon Sep 17 00:00:00 2001 From: Mateusz Russak Date: Fri, 23 Feb 2024 16:19:36 +0100 Subject: [PATCH] fix: added map type options to google maps component --- ui/src/core_components/embed/CoreGoogleMaps.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ui/src/core_components/embed/CoreGoogleMaps.vue b/ui/src/core_components/embed/CoreGoogleMaps.vue index a0bd5d17f..d876219a2 100644 --- a/ui/src/core_components/embed/CoreGoogleMaps.vue +++ b/ui/src/core_components/embed/CoreGoogleMaps.vue @@ -37,8 +37,14 @@ export default { }, mapType: { name: "Map type", - default: "roadmap", type: FieldType.Text, + default: "roadmap", + options: { + roadmap: "Roadmap", + satellite: "Satellite", + hybrid: "Hybrid", + terrain: "Terrain", + }, desc: "One of 'roadmap', 'satellite', 'hybrid' or 'terrain'", }, zoom: {