{"id":5738890,"date":"2015-02-01T19:57:48","date_gmt":"2015-02-01T19:57:48","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/update-global-map-with-search-results\/"},"modified":"2016-08-22T16:03:51","modified_gmt":"2016-08-22T16:03:51","slug":"update-global-map-with-search-results","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/update-global-map-with-search-results\/","title":{"rendered":"Update global map with search results"},"content":{"rendered":"<p>I&#8217;ve updated my events-list-grouped.php template to include a map like so<br \/>\n<code>echo em_get_locations_map_shortcode($_REQUEST);<\/code><\/p>\n<p>It works as expected and also updates the map if I search using the category selector. However, if I search for an event using the text field, the map says &#8220;No locations found&#8221; even though the event list returns several results.<\/p>\n<p>I have found <a href=\"https:\/\/wordpress.org\/support\/topic\/event-manager-pro-global-map-search?replies=9\">this thread<\/a> where Marcus said<\/p>\n<blockquote>\n<p>also, for you and others, this doesn&#8217;t mean the search text field will work, because what this does is take the search attributes supplied by the form and passes it onto the shortcode function, which accepts some things (e.g. scope, category, location, etc.) but not search (i.e. text search)<\/p>\n<\/blockquote>\n<p>Is this still not possible?<\/p>\n<p>https:\/\/wordpress.org\/plugins\/events-manager\/<\/p>\n","protected":false},"template":"","class_list":["post-5738890","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5738890","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5738890\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5738890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}