{"id":1362,"date":"2019-12-12T00:21:08","date_gmt":"2019-12-12T07:21:08","guid":{"rendered":"https:\/\/help.fooevents.com\/docs\/topics\/events\/google-maps\/"},"modified":"2026-02-02T03:19:48","modified_gmt":"2026-02-02T11:19:48","slug":"mapy-google","status":"publish","type":"docs","link":"https:\/\/help.fooevents.com\/cs\/docs\/topics\/events\/google-maps\/","title":{"rendered":"Mapy Google"},"content":{"rendered":"<p>FooEvents umo\u017e\u0148uje zobrazovat mapy na va\u0161ich ud\u00e1lostech\/produktech pomoc\u00ed Map Google. M\u016f\u017eete si vybrat ze dvou zp\u016fsob\u016f vkl\u00e1d\u00e1n\u00ed map.<\/p>\n<p><strong>V\u00fdb\u011br metody vkl\u00e1d\u00e1n\u00ed:<\/strong><\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-146229\" src=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2019\/12\/Screenshot-2026-02-02-at-12.45.45.png\" alt=\"FooEvents \/ Nastaven\u00ed vlo\u017een\u00ed Map Google\" width=\"630\" height=\"243\" title=\"\" srcset=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2019\/12\/Screenshot-2026-02-02-at-12.45.45.png 630w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2019\/12\/Screenshot-2026-02-02-at-12.45.45-300x116.png 300w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2019\/12\/Screenshot-2026-02-02-at-12.45.45-18x7.png 18w\" sizes=\"(max-width: 630px) 100vw, 630px\" \/><\/p>\n<ul>\n<li>P\u0159ejd\u011bte na <strong>FooEvents<\/strong> &gt; <strong>Nastaven\u00ed<\/strong> &gt; <strong>Integrace<\/strong> &gt; <strong>Mapy Google<\/strong><\/li>\n<li>Vyberte si <strong>Metoda vkl\u00e1d\u00e1n\u00ed map<\/strong>:\n<ol>\n<li><strong>Iframe - zdarma a nevy\u017eaduje kl\u00ed\u010d Google Maps API<\/strong> - doporu\u010den\u00e9<\/li>\n<li><strong>JavaScript - vy\u017eaduje placen\u00fd kl\u00ed\u010d Google Maps API<\/strong> - star\u0161\u00ed mo\u017enost; vyhnout se<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<p><strong>Metoda 1: Iframe - doporu\u010deno<\/strong><\/p>\n<p>Metoda iframe je jednoduch\u00e1, bezplatn\u00e1 a snadno se nastavuje. Sta\u010d\u00ed vybrat metodu iframe a p\u0159i \u00faprav\u00e1ch ud\u00e1lost\u00ed zadat GPS sou\u0159adnice m\u00edsta kon\u00e1n\u00ed (viz n\u00ed\u017ee).<\/p>\n<p><strong>Metoda 2: JavaScript - placen\u00e1 star\u0161\u00ed varianta; vyhn\u011bte se j\u00ed<\/strong><\/p>\n<p>Metoda JavaScript je star\u0161\u00ed mo\u017enost\u00ed, kter\u00e1 byla k dispozici p\u0159ed zaveden\u00edm metody iframe. Vy\u017eaduje nastaven\u00ed placen\u00e9ho kl\u00ed\u010de Google Maps API. Je tak\u00e9 n\u00e1chyln\u011bj\u0161\u00ed ke konflikt\u016fm JavaScriptu s motivy a pluginy t\u0159et\u00edch stran. Z tohoto d\u016fvodu doporu\u010dujeme pou\u017e\u00edvat mo\u017enost iframe, proto\u017ee je robustn\u011bj\u0161\u00ed a poskytuje podobn\u00e9 funkce.<\/p>\n<p>Pokud se rozhodnete pou\u017e\u00edt metodu JavaScript, budete muset vygenerovat kl\u00ed\u010d Google Maps API. Postupujte podle t\u011bchto pokyn\u016f:<\/p>\n<div>\n<ul>\n<li>M\u016f\u017eete vygenerovat <strong>Kl\u00ed\u010d Google Maps API<\/strong> podle t\u011bchto pokyn\u016f: <a href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/get-api-key\" rel=\"noreferrer nofollow noopener\" target=\"_blank\">https:\/\/developers.google.com\/maps\/documentation\/javascript\/get-api-key<\/a><\/li>\n<li>Po vygenerov\u00e1n\u00ed <strong>Kl\u00ed\u010d Google Maps API<\/strong>, zadejte ji zde: <strong>FooEvents<\/strong> &gt; <strong>Nastaven\u00ed<\/strong> &gt; <strong>Integrace<\/strong> &gt; <strong>Kl\u00ed\u010d Google Maps API<\/strong><\/li>\n<\/ul>\n<p><strong>Z\u00edsk\u00e1n\u00ed spr\u00e1vn\u00fdch sou\u0159adnic GPS:<\/strong><\/p>\n<p><em>N\u00e1sleduj\u00edc\u00ed pokyny plat\u00ed pro metody vlo\u017een\u00ed iframe i JavaScript.<\/em><\/p>\n<p>P\u0159ej\u00edt na <a href=\"https:\/\/maps.google.com\/\" rel=\"nofollow noopener\" target=\"_blank\">maps.google.com<\/a> a vyhledejte m\u00edsto kon\u00e1n\u00ed nebo adresu. Po nalezen\u00ed klikn\u011bte prav\u00fdm tla\u010d\u00edtkem my\u0161i na m\u00edsto, klikn\u011bte na sou\u0159adnice a zkop\u00edrujte je do schr\u00e1nky. Vlo\u017ete je do pole \u201c<strong>Sou\u0159adnice na map\u011b Google<\/strong>\" p\u0159i \u00faprav\u00e1ch ud\u00e1losti v <strong>Oblast administrace WordPress<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-132517\" src=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2019\/12\/Screenshot-2021-06-11-at-11.47.51.png\" alt=\"\" width=\"512\" height=\"370\" title=\"\" srcset=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2019\/12\/Screenshot-2021-06-11-at-11.47.51.png 727w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2019\/12\/Screenshot-2021-06-11-at-11.47.51-300x217.png 300w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>Form\u00e1t sou\u0159adnic v Map\u00e1ch Google by m\u011bl vypadat takto: <strong>-26.13741, 28.00815<\/strong><\/p>\n<p>V p\u0159\u00edpad\u011b pot\u0159eby m\u016f\u017eete do tohoto form\u00e1tu p\u0159ev\u00e9st pomoc\u00ed n\u00e1sleduj\u00edc\u00edho n\u00e1stroje:<\/p>\n<p><a href=\"http:\/\/www.gps-coordinates.net\/gps-coordinates-converter\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">http:\/\/www.gps-coordinates.net\/gps-coordinates-converter<\/a><\/p>\n<p><strong>Nastaven\u00ed spr\u00e1vn\u00fdch sou\u0159adnic GPS:<\/strong><\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-146230\" src=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2019\/12\/Screenshot-2026-02-02-at-13.11.33.png\" alt=\"FooEvents \/ Nastaven\u00ed sou\u0159adnic GPS v Map\u00e1ch Google\" width=\"629\" height=\"210\" title=\"\" srcset=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2019\/12\/Screenshot-2026-02-02-at-13.11.33.png 925w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2019\/12\/Screenshot-2026-02-02-at-13.11.33-300x100.png 300w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2019\/12\/Screenshot-2026-02-02-at-13.11.33-768x257.png 768w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2019\/12\/Screenshot-2026-02-02-at-13.11.33-18x6.png 18w\" sizes=\"(max-width: 629px) 100vw, 629px\" \/><\/p>\n<ul>\n<li>P\u0159ejd\u011bte na produkt, kter\u00fd m\u00e1 povoleny ud\u00e1losti.<\/li>\n<li>P\u0159ejd\u011bte dol\u016f na <strong>\u00dadaje o produktu<\/strong> karty.<\/li>\n<li>Otev\u0159ete <strong>Nastaven\u00ed ud\u00e1losti<\/strong> a p\u0159ejd\u011bte na kartu <strong>Podrobnosti o m\u00edst\u011b kon\u00e1n\u00ed<\/strong> sekce.<\/li>\n<li>Zadejte <strong>Sou\u0159adnice GPS<\/strong> v <strong>Sou\u0159adnice na map\u011b Google<\/strong> pole.<\/li>\n<\/ul>\n<p><strong>Zobrazen\u00ed mapy Google:<\/strong><\/p>\n<p>P\u0159ejd\u011bte na produkt na p\u0159edn\u00ed stran\u011b webu a p\u0159ejd\u011bte na karty produktu:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-146231\" src=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2019\/12\/Screenshot-2026-02-02-at-13.14.33.png\" alt=\"Integrace FooEvents \/ Mapy Google\" width=\"808\" height=\"505\" title=\"\" srcset=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2019\/12\/Screenshot-2026-02-02-at-13.14.33.png 808w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2019\/12\/Screenshot-2026-02-02-at-13.14.33-300x188.png 300w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2019\/12\/Screenshot-2026-02-02-at-13.14.33-768x480.png 768w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2019\/12\/Screenshot-2026-02-02-at-13.14.33-18x12.png 18w\" sizes=\"(max-width: 808px) 100vw, 808px\" \/><\/p>\n<\/div>","protected":false},"featured_media":0,"parent":941,"menu_order":17,"comment_status":"open","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"doc_tag":[226,71,72,104],"class_list":["post-1362","docs","type-docs","status-publish","hentry","doc_tag-api","doc_tag-google-maps","doc_tag-gps","doc_tag-settings"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/docs\/1362","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/comments?post=1362"}],"version-history":[{"count":2,"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/docs\/1362\/revisions"}],"predecessor-version":[{"id":146232,"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/docs\/1362\/revisions\/146232"}],"up":[{"embeddable":true,"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/docs\/941"}],"next":[{"title":"Sch\u016fzky a webov\u00e9 semin\u00e1\u0159e Zoom","link":"https:\/\/help.fooevents.com\/cs\/docs\/topics\/events\/zoom-meetings-and-webinars\/","href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/docs\/133863"}],"prev":[{"title":"Str\u00e1nky chr\u00e1n\u011bn\u00e9 heslem","link":"https:\/\/help.fooevents.com\/cs\/docs\/topics\/events\/password-protected-pages\/","href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/docs\/2627"}],"wp:attachment":[{"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/media?parent=1362"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/doc_tag?post=1362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}