{"id":5643,"date":"2024-09-02T13:34:42","date_gmt":"2024-09-02T11:34:42","guid":{"rendered":"https:\/\/www.open-user-map.com\/?post_type=ht_kb&#038;p=5643"},"modified":"2024-09-02T13:34:43","modified_gmt":"2024-09-02T11:34:43","slug":"can-i-show-only-specific-locations","status":"publish","type":"ht_kb","link":"https:\/\/www.open-user-map.com\/es\/knowledge-base\/can-i-show-only-specific-locations\/","title":{"rendered":"\u00bfPuedo mostrar s\u00f3lo lugares concretos?"},"content":{"rendered":"<p>S\u00ed, puede limitar los lugares que aparecen en el mapa.<\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Editor de bloques \/ Elementor<\/h3>\n\n\n\n<p>Puede limitar las ubicaciones visibles por IDs o Categor\u00edas de Marcadores en la Configuraci\u00f3n de Bloques:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"282\" height=\"734\" src=\"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2024\/09\/image-2.png\" alt=\"\" class=\"wp-image-5644\" srcset=\"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2024\/09\/image-2.png 282w, https:\/\/www.open-user-map.com\/wp-content\/uploads\/2024\/09\/image-2-115x300.png 115w, https:\/\/www.open-user-map.com\/wp-content\/uploads\/2024\/09\/image-2-19x50.png 19w, https:\/\/www.open-user-map.com\/wp-content\/uploads\/2024\/09\/image-2-5x12.png 5w\" sizes=\"auto, (max-width: 282px) 100vw, 282px\" \/><\/figure>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">C\u00f3digo corto<\/h3>\n\n\n\n<p>Puede limitar las ubicaciones visibles por IDs o Categor\u00edas de Marcadores con atributos adicionales de Shortcode:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\" data-no-translation=\"\" data-no-auto-translation=\"\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#333545;color:#ebebe6\">HTML<\/span><span role=\"button\" tabindex=\"0\" data-code=\"&lt;div class=&quot;open-user-map &quot;&gt;            &lt;!-- Map Container --&gt;  &lt;div class=&quot;oum-map-container&quot;&gt;    &lt;div class=&quot;box-wrap map-size-fullwidth oum-regions-layout-1 &quot;&gt;      &lt;div class=&quot;tab-wrap&quot;&gt;      &lt;div class=&quot;oum-tabs&quot; id=&quot;nav-tab-20210929&quot; role=&quot;tablist&quot;&gt;                                    &lt;div class=&quot;nav-item nav-link  change_region&quot; data-lat=&quot;15.228206611945&quot; data-lng=&quot;-61.924934472099&quot; data-zoom=&quot;5.6&quot; data-toggle=&quot;tab&quot; role=&quot;tab&quot;&gt;Caribbean&lt;\/div&gt;                            &lt;div class=&quot;nav-item nav-link  change_region&quot; data-lat=&quot;47.529927234828&quot; data-lng=&quot;12.341247367108&quot; data-zoom=&quot;3.6&quot; data-toggle=&quot;tab&quot; role=&quot;tab&quot;&gt;Europe&lt;\/div&gt;                            &lt;div class=&quot;nav-item nav-link  change_region&quot; data-lat=&quot;37.878730839685&quot; data-lng=&quot;-94.286223827795&quot; data-zoom=&quot;3.6&quot; data-toggle=&quot;tab&quot; role=&quot;tab&quot;&gt;North America&lt;\/div&gt;                            &lt;div class=&quot;nav-item nav-link  change_region&quot; data-lat=&quot;24.367151526283&quot; data-lng=&quot;4.8559711749114&quot; data-zoom=&quot;1.2&quot; data-toggle=&quot;tab&quot; role=&quot;tab&quot;&gt;World&lt;\/div&gt;              &lt;\/div&gt;    &lt;\/div&gt;    &lt;div class=&quot;map-wrap&quot;&gt;    &lt;div class=&quot;oum-loading-overlay&quot;&gt;      &lt;div class=&quot;oum-loading-spinner&quot;&gt;&lt;\/div&gt;    &lt;\/div&gt;    &lt;div id=&quot;map-20210929&quot; class=&quot;leaflet-map map-style_MapBox.outdoors&quot; data-oum-tile-provider-container=&quot;mapbox&quot;&gt;&lt;\/div&gt;              &lt;input type=&quot;text&quot; id=&quot;oum_filter_markers&quot; class=&quot;oum-hidden&quot; placeholder=&quot;Search marker (try fish or sand)&quot; \/&gt;                                                  &lt;div id=&quot;open-add-location-overlay&quot; class=&quot;open-add-location-overlay oum-hidden&quot; style=&quot;background-color: #e82c71&quot;&gt;&lt;span class=&quot;btn_icon&quot;&gt;+&lt;\/span&gt;&lt;span class=&quot;btn_text&quot;&gt;Add location&lt;\/span&gt;&lt;\/div&gt;                                            &lt;div class=&quot;oum-map-filter-wrapper&quot;&gt;                          &lt;div class=&quot;oum-filter-controls active oum-hidden&quot;&gt;            &lt;div class=&quot;oum-filter-toggle&quot;&gt;&lt;\/div&gt;            &lt;div class=&quot;oum-filter-list&quot;&gt;              &lt;div class=&quot;close-filter-list&quot;&gt;&#x2715;&lt;\/div&gt;                            &lt;!-- Toggle All Checkbox --&gt;                              &lt;div class=&quot;oum-toggle-all-wrapper&quot;&gt;                  &lt;label class=&quot;oum-toggle-all-label&quot;&gt;                    &lt;input style=&quot;accent-color: #e82c71&quot; type=&quot;checkbox&quot; id=&quot;oum-toggle-all&quot; class=&quot;oum-toggle-all-checkbox&quot;&gt;                    &lt;span class=&quot;oum-toggle-all-text&quot;&gt;Select all&lt;\/span&gt;                  &lt;\/label&gt;                &lt;\/div&gt;                                                                                        &lt;label&gt;                  &lt;input style=&quot;accent-color: #e82c71&quot; type=&quot;checkbox&quot; name=&quot;type&quot; value=&quot;109&quot; checked&gt;                                      &lt;img alt=&quot;category icon&quot; src=&quot;https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/08\/icon_rocky.png&quot;&gt;                                    &lt;span class=&quot;oum-filter-category-name&quot;&gt;Rocky Beach&lt;\/span&gt;                &lt;\/label&gt;                                              &lt;label&gt;                  &lt;input style=&quot;accent-color: #e82c71&quot; type=&quot;checkbox&quot; name=&quot;type&quot; value=&quot;108&quot; checked&gt;                                      &lt;img alt=&quot;category icon&quot; src=&quot;https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/08\/icon_sandy.png&quot;&gt;                                    &lt;span class=&quot;oum-filter-category-name&quot;&gt;Sandy Beach&lt;\/span&gt;                &lt;\/label&gt;                                              &lt;label&gt;                  &lt;input style=&quot;accent-color: #e82c71&quot; type=&quot;checkbox&quot; name=&quot;type&quot; value=&quot;110&quot; checked&gt;                                      &lt;img alt=&quot;category icon&quot; src=&quot;https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/08\/icon_seashells.png&quot;&gt;                                    &lt;span class=&quot;oum-filter-category-name&quot;&gt;Seashell Beach&lt;\/span&gt;                &lt;\/label&gt;                          &lt;\/div&gt;          &lt;\/div&gt;              &lt;\/div&gt;                                &lt;div class=&quot;oum-attribution&quot;&gt;made with &lt;a href=&quot;https:\/\/www.open-user-map.com\/?ref=map&quot; title=&quot;Open User Map | Everybody can add locations&quot; target=&quot;_blank&quot;&gt;OUM PRO&lt;\/a&gt;&lt;\/div&gt;                      &lt;script type=&quot;text\/javascript&quot; id=&quot;oum-init-map&quot; data-category=&quot;functional&quot; class=&quot;cmplz-native&quot; data-oum-tile-provider=&quot;mapbox&quot;&gt;      map_el = `map-20210929`;      if(document.getElementById(map_el)) {        \/* Transfer PHP array to JS json *\/        var oum_all_locations = [];        \/\/ Wait for the main initialization function to be available, then call it        function oumWaitForMainInit() {          if (typeof oumInitializeMap === &#039;function&#039;) {            console.log(&#039;\ud83d\uddfa\ufe0f Open User Map: Starting&#039;);                        \/\/ Initialize the map            oumInitializeMap();          } else {            setTimeout(oumWaitForMainInit, 100);          }        }                setTimeout(oumWaitForMainInit, 100);      }    &lt;\/script&gt;    &lt;script type=&quot;text\/javascript&quot; id=&quot;oum-inline-js&quot;       data-category=&quot;functional&quot;       class=&quot;cmplz-native&quot;       data-minify=&quot;0&quot;      data-no-optimize=&quot;1&quot;      data-no-defer=&quot;1&quot;      data-no-combine=&quot;1&quot;      data-cfasync=&quot;false&quot;      data-pagespeed-no-defer      data-boot=&quot;1&quot;&gt;      map_el = `map-20210929`;      if(document.getElementById(map_el)) {        \/\/ Wait for OUMLoader to be defined        function oumLoading() {          if (typeof OUMLoader !== &#039;undefined&#039;) {            \/\/ Initialize loader for this map            OUMLoader.initLoader(map_el);            \/\/ Add event listener for map initialization complete            document.addEventListener(&#039;oum:map_initialized&#039;, function(e) {              if (e.detail.mapId === map_el) {                OUMLoader.setMapInitialized(map_el);              }            });          } else {            \/\/ If OUMLoader is not yet defined, wait and try again            setTimeout(oumLoading, 100);          }        }        \/\/ OUM Loading Spinner        oumLoading();        \/\/ OUM inline JS variables        var mapStyle = `MapBox.outdoors`;        var oum_tile_provider_mapbox_key = `pk.eyJ1IjoiMTAwd3VuZGVyIiwiYSI6ImNsbmtxZGpxdDB1c2oybHJ6YTR6NWR0dXYifQ.gAAi57QGX_Dh1Q7ozFh1Xg`;        var marker_icon_url = `https:\/\/www.open-user-map.com\/wp-content\/plugins\/2026-03-26_0033%20(beta)\/src\/leaflet\/images\/marker-icon_default-2x.png`;        var marker_shadow_url = `https:\/\/www.open-user-map.com\/wp-content\/plugins\/2026-03-26_0033%20(beta)\/src\/leaflet\/images\/marker-shadow.png`;        var oum_enable_scrollwheel_zoom_map = false;        var oum_enable_cluster = true;        var oum_enable_fullscreen = true;        var oum_enable_searchbar = true;        var oum_searchbar_type = `live_filter`;        var oum_geosearch_selected_provider = ``;         var oum_geosearch_provider = `here`;        var oum_geosearch_provider_geoapify_key = ``;        var oum_geosearch_provider_here_key = `ViSl2eu1vcWn_CjyoNg5R3mk7tXgy6XUmUcgclmIwag`;        var oum_geosearch_provider_mapbox_key = ``;                var oum_enable_searchaddress_button = true;        var oum_searchaddress_label = `Search address`;        var oum_enable_searchmarkers_button = false;        var oum_searchmarkers_label = `Search marker (try fish or sand)`;        var oum_searchmarkers_zoom = `8`;        var oum_enable_currentlocation = true;        var oum_action_after_submit = `text`;        var thankyou_redirect = ``;        var start_lat = Number(27.683528083788);        var start_lng = Number(-7.734375);        var start_zoom = Number(2);                var oum_enable_fixed_map_bounds = ``;        var oum_use_settings_start_location = true;        var oum_has_regions = true;        var oum_enable_multiple_marker_types = `true`;        var oum_hide_filterbox = false;        var oum_hide_location_popup = false;        var oum_enable_address = ``;        var oum_enable_address_autofill = ``;        \/\/ WordPress timezone for opening hours calculations        var oum_wordpress_timezone = `Europe\/Berlin`;        \/\/ Custom Image data        var oum_custom_image_url = `https:\/\/www.open-user-map.com\/wp-content\/uploads\/2025\/11\/comic_world.png`;        var oum_custom_image_bounds = {&quot;north&quot;:&quot;78.332916&quot;,&quot;south&quot;:&quot;-66.933997&quot;,&quot;east&quot;:&quot;180&quot;,&quot;west&quot;:&quot;-166.515625&quot;};        var oum_custom_image_hide_tiles = false;        var oum_custom_image_background_color = `#ffffff`;        var oum_location = {};        var oum_custom_css = &#039;&#039;;        var oum_custom_script = &#039;&#039;;        var oum_max_image_filesize = 10;        var oumMap;        var oumMap2;        \/**         * Conditional Field Feature         *          * @param {string} sourceField - The source field selector         * @param {string} targetField - The target field selector         * @param {array} condShow - The values that should show the target field         * @param {array|null} condHide - The values that should hide the target field. If empty\/null\/undefined, the field will be hidden when condShow is not met.         *\/        var oumConditionalField = (sourceField, targetField, condShow, condHide = null) =&gt; {            const sourceElements = document.querySelectorAll(sourceField); \/\/ Select all radios\/checkboxes or single select            const targetElementWrapper = document.querySelector(targetField)?.parentElement; \/* works with custom fields only *\/            \/\/ Check if both sourceElements and targetElementWrapper exist            if (!sourceElements.length) {                console.warn(`OUM: Source field(s) not found: ${sourceField}`);                return;            }            if (!targetElementWrapper) {                console.warn(`OUM: Target field wrapper not found: ${targetField}`);                return;            }            \/* Event listener for change *\/            const onChangeHandler = function() {                \/\/ Get selected values for checkboxes and single selected value for radios\/select                const selectedValues = Array.from(sourceElements)                    .filter(element =&gt; element.checked || element.tagName === &#039;SELECT&#039;)                    .map(element =&gt; element.value);                const selectedValue = selectedValues[0]; \/\/ For radios and selects, we use only the first (and only) value                console.log(&#039;OUM: run condition&#039;, {selectedValue, sourceField, targetField, condShow, condHide});                                \/\/ Show or hide target field based on the selected value(s)                if (condShow.includes(selectedValue)) {                    \/\/ Show the field if condShow condition is met                    targetElementWrapper.style.display = &#039;block&#039;;                } else if (condHide &amp;&amp; Array.isArray(condHide) &amp;&amp; condHide.length &gt; 0 &amp;&amp; condHide.includes(selectedValue)) {                    \/\/ Hide the field if condHide is provided and condition is met                    targetElementWrapper.style.display = &#039;none&#039;;                } else if (!condHide || (Array.isArray(condHide) &amp;&amp; condHide.length === 0)) {                    \/\/ If condHide is empty\/null\/undefined, hide the field when condShow is not met                    targetElementWrapper.style.display = &#039;none&#039;;                }            };            \/* Attach the event listener to each radio\/checkbox or select *\/            sourceElements.forEach(element =&gt; {                element.addEventListener(&#039;change&#039;, onChangeHandler);            });            \/* Trigger initially *\/            onChangeHandler(); \/\/ Call it directly to set initial state        };        \/**         * Add Custom Styles         *\/                                    \/* custom color *\/          oum_custom_css += `            .open-user-map .add-location #close-add-location-overlay:hover {color: #e82c71 !important}            .open-user-map .box-wrap .map-wrap .open-add-location-overlay {background-color: #e82c71 !important}            .open-user-map .box-wrap .map-wrap .open-add-location-overlay:hover,            .open-user-map .box-wrap .map-wrap .open-add-location-overlay:active {background-color: #d12866 !important}            .open-user-map .box-wrap .map-wrap .oum-filter-controls .oum-filter-list .close-filter-list:hover {color: #e82c71 !important}            .open-user-map .oum-advanced-filter-button .oum-advanced-filter-content .close-advanced-filter:hover,            .open-user-map .oum-advanced-filter-panel .oum-advanced-filter-content .close-advanced-filter:hover {color: #e82c71 !important}            .open-user-map input.oum-switch[type=&quot;checkbox&quot;]:checked + label::before {background-color: #e82c71 !important}            .open-user-map .add-location .location-overlay-content #oum_add_location .oum-required-indicator {color: #e82c71 !important}            .open-user-map .add-location .location-overlay-content #oum_add_location h2 {color: #e82c71 !important}            .open-user-map .add-location .location-overlay-content #oum_add_location input[type=text]:focus,            .open-user-map .add-location .location-overlay-content #oum_add_location input[type=email]:focus,            .open-user-map .add-location .location-overlay-content #oum_add_location input[type=url]:focus,            .open-user-map .add-location .location-overlay-content #oum_add_location textarea:focus,            .open-user-map .add-location .location-overlay-content #oum_add_location select:focus {border-color: #e82c71 !important; box-shadow: 0 0 0 2px #e82c711a !important}            .open-user-map .add-location .location-overlay-content #oum_add_location_thankyou h3 {color: #e82c71 !important}            .open-user-map .oum_location_text a {color: #e82c71 !important}            .open-user-map .oum_location_text .oum_vote_button_wrap .oum_vote_button.voted {background: #e82c71 !important; border-color: #e82c71 !important;}            .open-user-map .oum-tabs {border-color: #e82c71 !important}            .open-user-map .oum-tabs .nav-item:hover {color: #e82c71 !important; border-color: #e82c71 !important}            .open-user-map .oum-tabs .nav-item.active {color: #e82c71 !important; border-color: #e82c71 !important}            .open-user-map .box-wrap .map-wrap .oum-attribution a {color: #e82c71 !important;}            \/* Submit Button *\/            .open-user-map .add-location .location-overlay-content #oum_add_location input[type=submit] {background-color: #e82c71 !important; border-color: #e82c71 !important;}            .open-user-map .add-location .location-overlay-content #oum_add_location input[type=submit]:hover,            .open-user-map .add-location .location-overlay-content #oum_add_location input[type=submit]:active {background-color: #d12866 !important;}            \/* Message CTA Buttons *\/            .open-user-map .add-location .location-overlay-content #oum_add_location_thankyou button {background-color: #e82c71 !important; border-color: #e82c71 !important;}            .open-user-map .add-location .location-overlay-content #oum_add_location_thankyou button:hover,            .open-user-map .add-location .location-overlay-content #oum_add_location_thankyou button:active {background-color: #d12866 !important;}            .open-user-map .add-location .location-overlay-content .oum-delete-confirmation button {background-color: #e82c71 !important; border-color: #e82c71 !important;}            .open-user-map .add-location .location-overlay-content .oum-delete-confirmation button:hover,            .open-user-map .add-location .location-overlay-content .oum-delete-confirmation button:active {background-color: #d12866 !important;}            \/* Media Section Colors *\/            .open-user-map .add-location .location-overlay-content #oum_add_location .oum_media .media-upload label {color: #e82c71 !important}            .open-user-map .add-location .location-overlay-content #oum_add_location .oum_media .oum-image-upload .media-upload-top label .multi-upload-indicator {background: #e82c71 !important}            .open-user-map .add-location .location-overlay-content #oum_add_location .oum_media .oum-video-upload input[type=text]:hover {border-color: #e82c71 !important}            .open-user-map .add-location .location-overlay-content #oum_add_location .oum_media .oum-video-upload input[type=text]:focus {border-color: #e82c71 !important; box-shadow: 0 0 0 2px #e82c711a !important}            .open-user-map .add-location .location-overlay-content #oum_add_location .oum_media .image-preview-placeholder {border-color: #e82c71 !important; background: #e82c710a !important}            .open-user-map .add-location .location-overlay-content #oum_add_location .oum_media .oum-image-preview-grid .image-preview-item.dragging {border-color: #e82c71 !important}            \/* List Styles *\/            .open-user-map-locations-list .oum-locations-list-item .oum_location_text a {color: #e82c71 !important}             .open-user-map-locations-list .oum-locations-list-item .oum_location_text .oum_vote_button_wrap .oum_vote_button.voted {background: #e82c71 !important; border-color: #e82c71 !important;}`;                                  \/* custom map height *\/          oum_custom_css += `            @media screen and (max-width: 768px) {.open-user-map .box-wrap &gt; .map-wrap {padding: 0 !important; height: 60vh !important; aspect-ratio: unset !important;}}`;                var custom_style = document.createElement(&#039;style&#039;);        if (custom_style.styleSheet) {          custom_style.styleSheet.cssText = oum_custom_css;        } else {          custom_style.appendChild(document.createTextNode(oum_custom_css));        }        document.getElementsByTagName(&#039;head&#039;)[0].appendChild(custom_style);        \/* Add initial CSS to prevent flash of unstyled content *\/        var initialStyles = document.createElement(&#039;style&#039;);        initialStyles.textContent = `          .oum-hidden {            opacity: 0 !important;            visibility: hidden !important;            transition: opacity 0.3s ease, visibility 0.3s ease;          }          .oum-filter-controls,          .open-add-location-overlay,          #oum_filter_markers,          .oum-advanced-filter-button,          .oum-advanced-filter-panel,          .oum-sidebar {            opacity: 0;            visibility: hidden;            transition: opacity 0.3s ease, visibility 0.3s ease;          }          .oum-filter-controls.visible,          .open-add-location-overlay.visible,          #oum_filter_markers.visible,          .oum-advanced-filter-button.visible,          .oum-advanced-filter-panel.visible,          .oum-sidebar.visible {            opacity: 1;            visibility: visible;          }        `;        document.head.appendChild(initialStyles);      }    &lt;\/script&gt;  &lt;\/div&gt;&lt;\/div&gt;  &lt;\/div&gt;&lt;\/div&gt;OR&lt;div class=&quot;open-user-map &quot;&gt;            &lt;!-- Map Container --&gt;  &lt;div class=&quot;oum-map-container&quot;&gt;    &lt;div class=&quot;box-wrap map-size-fullwidth oum-regions-layout-1 &quot;&gt;      &lt;div class=&quot;tab-wrap&quot;&gt;      &lt;div class=&quot;oum-tabs&quot; id=&quot;nav-tab-20210929&quot; role=&quot;tablist&quot;&gt;                                    &lt;div class=&quot;nav-item nav-link  change_region&quot; data-lat=&quot;15.228206611945&quot; data-lng=&quot;-61.924934472099&quot; data-zoom=&quot;5.6&quot; data-toggle=&quot;tab&quot; role=&quot;tab&quot;&gt;Caribbean&lt;\/div&gt;                            &lt;div class=&quot;nav-item nav-link  change_region&quot; data-lat=&quot;47.529927234828&quot; data-lng=&quot;12.341247367108&quot; data-zoom=&quot;3.6&quot; data-toggle=&quot;tab&quot; role=&quot;tab&quot;&gt;Europe&lt;\/div&gt;                            &lt;div class=&quot;nav-item nav-link  change_region&quot; data-lat=&quot;37.878730839685&quot; data-lng=&quot;-94.286223827795&quot; data-zoom=&quot;3.6&quot; data-toggle=&quot;tab&quot; role=&quot;tab&quot;&gt;North America&lt;\/div&gt;                            &lt;div class=&quot;nav-item nav-link  change_region&quot; data-lat=&quot;24.367151526283&quot; data-lng=&quot;4.8559711749114&quot; data-zoom=&quot;1.2&quot; data-toggle=&quot;tab&quot; role=&quot;tab&quot;&gt;World&lt;\/div&gt;              &lt;\/div&gt;    &lt;\/div&gt;    &lt;div class=&quot;map-wrap&quot;&gt;    &lt;div class=&quot;oum-loading-overlay&quot;&gt;      &lt;div class=&quot;oum-loading-spinner&quot;&gt;&lt;\/div&gt;    &lt;\/div&gt;    &lt;div id=&quot;map-20210929&quot; class=&quot;leaflet-map map-style_MapBox.outdoors&quot; data-oum-tile-provider-container=&quot;mapbox&quot;&gt;&lt;\/div&gt;              &lt;input type=&quot;text&quot; id=&quot;oum_filter_markers&quot; class=&quot;oum-hidden&quot; placeholder=&quot;Search marker (try fish or sand)&quot; \/&gt;                                                  &lt;div id=&quot;open-add-location-overlay&quot; class=&quot;open-add-location-overlay oum-hidden&quot; style=&quot;background-color: #e82c71&quot;&gt;&lt;span class=&quot;btn_icon&quot;&gt;+&lt;\/span&gt;&lt;span class=&quot;btn_text&quot;&gt;Add location&lt;\/span&gt;&lt;\/div&gt;                                                                  &lt;div class=&quot;oum-attribution&quot;&gt;made with &lt;a href=&quot;https:\/\/www.open-user-map.com\/?ref=map&quot; title=&quot;Open User Map | Everybody can add locations&quot; target=&quot;_blank&quot;&gt;OUM PRO&lt;\/a&gt;&lt;\/div&gt;                      &lt;script type=&quot;text\/javascript&quot; id=&quot;oum-init-map&quot; data-category=&quot;functional&quot; class=&quot;cmplz-native&quot; data-oum-tile-provider=&quot;mapbox&quot;&gt;      map_el = `map-20210929`;      if(document.getElementById(map_el)) {        \/* Transfer PHP array to JS json *\/        var oum_all_locations = [];        \/\/ Wait for the main initialization function to be available, then call it        function oumWaitForMainInit() {          if (typeof oumInitializeMap === &#039;function&#039;) {            console.log(&#039;\ud83d\uddfa\ufe0f Open User Map: Starting&#039;);                        \/\/ Initialize the map            oumInitializeMap();          } else {            setTimeout(oumWaitForMainInit, 100);          }        }                setTimeout(oumWaitForMainInit, 100);      }    &lt;\/script&gt;    &lt;script type=&quot;text\/javascript&quot; id=&quot;oum-inline-js&quot;       data-category=&quot;functional&quot;       class=&quot;cmplz-native&quot;       data-minify=&quot;0&quot;      data-no-optimize=&quot;1&quot;      data-no-defer=&quot;1&quot;      data-no-combine=&quot;1&quot;      data-cfasync=&quot;false&quot;      data-pagespeed-no-defer      data-boot=&quot;1&quot;&gt;      map_el = `map-20210929`;      if(document.getElementById(map_el)) {        \/\/ Wait for OUMLoader to be defined        function oumLoading() {          if (typeof OUMLoader !== &#039;undefined&#039;) {            \/\/ Initialize loader for this map            OUMLoader.initLoader(map_el);            \/\/ Add event listener for map initialization complete            document.addEventListener(&#039;oum:map_initialized&#039;, function(e) {              if (e.detail.mapId === map_el) {                OUMLoader.setMapInitialized(map_el);              }            });          } else {            \/\/ If OUMLoader is not yet defined, wait and try again            setTimeout(oumLoading, 100);          }        }        \/\/ OUM Loading Spinner        oumLoading();        \/\/ OUM inline JS variables        var mapStyle = `MapBox.outdoors`;        var oum_tile_provider_mapbox_key = `pk.eyJ1IjoiMTAwd3VuZGVyIiwiYSI6ImNsbmtxZGpxdDB1c2oybHJ6YTR6NWR0dXYifQ.gAAi57QGX_Dh1Q7ozFh1Xg`;        var marker_icon_url = `https:\/\/www.open-user-map.com\/wp-content\/plugins\/2026-03-26_0033%20(beta)\/src\/leaflet\/images\/marker-icon_default-2x.png`;        var marker_shadow_url = `https:\/\/www.open-user-map.com\/wp-content\/plugins\/2026-03-26_0033%20(beta)\/src\/leaflet\/images\/marker-shadow.png`;        var oum_enable_scrollwheel_zoom_map = false;        var oum_enable_cluster = true;        var oum_enable_fullscreen = true;        var oum_enable_searchbar = true;        var oum_searchbar_type = `live_filter`;        var oum_geosearch_selected_provider = ``;         var oum_geosearch_provider = `here`;        var oum_geosearch_provider_geoapify_key = ``;        var oum_geosearch_provider_here_key = `ViSl2eu1vcWn_CjyoNg5R3mk7tXgy6XUmUcgclmIwag`;        var oum_geosearch_provider_mapbox_key = ``;                var oum_enable_searchaddress_button = true;        var oum_searchaddress_label = `Search address`;        var oum_enable_searchmarkers_button = false;        var oum_searchmarkers_label = `Search marker (try fish or sand)`;        var oum_searchmarkers_zoom = `8`;        var oum_enable_currentlocation = true;        var oum_action_after_submit = `text`;        var thankyou_redirect = ``;        var start_lat = Number(27.683528083788);        var start_lng = Number(-7.734375);        var start_zoom = Number(2);                var oum_enable_fixed_map_bounds = ``;        var oum_use_settings_start_location = true;        var oum_has_regions = true;        var oum_enable_multiple_marker_types = `true`;        var oum_hide_filterbox = false;        var oum_hide_location_popup = false;        var oum_enable_address = ``;        var oum_enable_address_autofill = ``;        \/\/ WordPress timezone for opening hours calculations        var oum_wordpress_timezone = `Europe\/Berlin`;        \/\/ Custom Image data        var oum_custom_image_url = `https:\/\/www.open-user-map.com\/wp-content\/uploads\/2025\/11\/comic_world.png`;        var oum_custom_image_bounds = {&quot;north&quot;:&quot;78.332916&quot;,&quot;south&quot;:&quot;-66.933997&quot;,&quot;east&quot;:&quot;180&quot;,&quot;west&quot;:&quot;-166.515625&quot;};        var oum_custom_image_hide_tiles = false;        var oum_custom_image_background_color = `#ffffff`;        var oum_location = {};        var oum_custom_css = &#039;&#039;;        var oum_custom_script = &#039;&#039;;        var oum_max_image_filesize = 10;        var oumMap;        var oumMap2;        \/**         * Conditional Field Feature         *          * @param {string} sourceField - The source field selector         * @param {string} targetField - The target field selector         * @param {array} condShow - The values that should show the target field         * @param {array|null} condHide - The values that should hide the target field. If empty\/null\/undefined, the field will be hidden when condShow is not met.         *\/        var oumConditionalField = (sourceField, targetField, condShow, condHide = null) =&gt; {            const sourceElements = document.querySelectorAll(sourceField); \/\/ Select all radios\/checkboxes or single select            const targetElementWrapper = document.querySelector(targetField)?.parentElement; \/* works with custom fields only *\/            \/\/ Check if both sourceElements and targetElementWrapper exist            if (!sourceElements.length) {                console.warn(`OUM: Source field(s) not found: ${sourceField}`);                return;            }            if (!targetElementWrapper) {                console.warn(`OUM: Target field wrapper not found: ${targetField}`);                return;            }            \/* Event listener for change *\/            const onChangeHandler = function() {                \/\/ Get selected values for checkboxes and single selected value for radios\/select                const selectedValues = Array.from(sourceElements)                    .filter(element =&gt; element.checked || element.tagName === &#039;SELECT&#039;)                    .map(element =&gt; element.value);                const selectedValue = selectedValues[0]; \/\/ For radios and selects, we use only the first (and only) value                console.log(&#039;OUM: run condition&#039;, {selectedValue, sourceField, targetField, condShow, condHide});                                \/\/ Show or hide target field based on the selected value(s)                if (condShow.includes(selectedValue)) {                    \/\/ Show the field if condShow condition is met                    targetElementWrapper.style.display = &#039;block&#039;;                } else if (condHide &amp;&amp; Array.isArray(condHide) &amp;&amp; condHide.length &gt; 0 &amp;&amp; condHide.includes(selectedValue)) {                    \/\/ Hide the field if condHide is provided and condition is met                    targetElementWrapper.style.display = &#039;none&#039;;                } else if (!condHide || (Array.isArray(condHide) &amp;&amp; condHide.length === 0)) {                    \/\/ If condHide is empty\/null\/undefined, hide the field when condShow is not met                    targetElementWrapper.style.display = &#039;none&#039;;                }            };            \/* Attach the event listener to each radio\/checkbox or select *\/            sourceElements.forEach(element =&gt; {                element.addEventListener(&#039;change&#039;, onChangeHandler);            });            \/* Trigger initially *\/            onChangeHandler(); \/\/ Call it directly to set initial state        };        \/**         * Add Custom Styles         *\/                                    \/* custom color *\/          oum_custom_css += `            .open-user-map .add-location #close-add-location-overlay:hover {color: #e82c71 !important}            .open-user-map .box-wrap .map-wrap .open-add-location-overlay {background-color: #e82c71 !important}            .open-user-map .box-wrap .map-wrap .open-add-location-overlay:hover,            .open-user-map .box-wrap .map-wrap .open-add-location-overlay:active {background-color: #d12866 !important}            .open-user-map .box-wrap .map-wrap .oum-filter-controls .oum-filter-list .close-filter-list:hover {color: #e82c71 !important}            .open-user-map .oum-advanced-filter-button .oum-advanced-filter-content .close-advanced-filter:hover,            .open-user-map .oum-advanced-filter-panel .oum-advanced-filter-content .close-advanced-filter:hover {color: #e82c71 !important}            .open-user-map input.oum-switch[type=&quot;checkbox&quot;]:checked + label::before {background-color: #e82c71 !important}            .open-user-map .add-location .location-overlay-content #oum_add_location .oum-required-indicator {color: #e82c71 !important}            .open-user-map .add-location .location-overlay-content #oum_add_location h2 {color: #e82c71 !important}            .open-user-map .add-location .location-overlay-content #oum_add_location input[type=text]:focus,            .open-user-map .add-location .location-overlay-content #oum_add_location input[type=email]:focus,            .open-user-map .add-location .location-overlay-content #oum_add_location input[type=url]:focus,            .open-user-map .add-location .location-overlay-content #oum_add_location textarea:focus,            .open-user-map .add-location .location-overlay-content #oum_add_location select:focus {border-color: #e82c71 !important; box-shadow: 0 0 0 2px #e82c711a !important}            .open-user-map .add-location .location-overlay-content #oum_add_location_thankyou h3 {color: #e82c71 !important}            .open-user-map .oum_location_text a {color: #e82c71 !important}            .open-user-map .oum_location_text .oum_vote_button_wrap .oum_vote_button.voted {background: #e82c71 !important; border-color: #e82c71 !important;}            .open-user-map .oum-tabs {border-color: #e82c71 !important}            .open-user-map .oum-tabs .nav-item:hover {color: #e82c71 !important; border-color: #e82c71 !important}            .open-user-map .oum-tabs .nav-item.active {color: #e82c71 !important; border-color: #e82c71 !important}            .open-user-map .box-wrap .map-wrap .oum-attribution a {color: #e82c71 !important;}            \/* Submit Button *\/            .open-user-map .add-location .location-overlay-content #oum_add_location input[type=submit] {background-color: #e82c71 !important; border-color: #e82c71 !important;}            .open-user-map .add-location .location-overlay-content #oum_add_location input[type=submit]:hover,            .open-user-map .add-location .location-overlay-content #oum_add_location input[type=submit]:active {background-color: #d12866 !important;}            \/* Message CTA Buttons *\/            .open-user-map .add-location .location-overlay-content #oum_add_location_thankyou button {background-color: #e82c71 !important; border-color: #e82c71 !important;}            .open-user-map .add-location .location-overlay-content #oum_add_location_thankyou button:hover,            .open-user-map .add-location .location-overlay-content #oum_add_location_thankyou button:active {background-color: #d12866 !important;}            .open-user-map .add-location .location-overlay-content .oum-delete-confirmation button {background-color: #e82c71 !important; border-color: #e82c71 !important;}            .open-user-map .add-location .location-overlay-content .oum-delete-confirmation button:hover,            .open-user-map .add-location .location-overlay-content .oum-delete-confirmation button:active {background-color: #d12866 !important;}            \/* Media Section Colors *\/            .open-user-map .add-location .location-overlay-content #oum_add_location .oum_media .media-upload label {color: #e82c71 !important}            .open-user-map .add-location .location-overlay-content #oum_add_location .oum_media .oum-image-upload .media-upload-top label .multi-upload-indicator {background: #e82c71 !important}            .open-user-map .add-location .location-overlay-content #oum_add_location .oum_media .oum-video-upload input[type=text]:hover {border-color: #e82c71 !important}            .open-user-map .add-location .location-overlay-content #oum_add_location .oum_media .oum-video-upload input[type=text]:focus {border-color: #e82c71 !important; box-shadow: 0 0 0 2px #e82c711a !important}            .open-user-map .add-location .location-overlay-content #oum_add_location .oum_media .image-preview-placeholder {border-color: #e82c71 !important; background: #e82c710a !important}            .open-user-map .add-location .location-overlay-content #oum_add_location .oum_media .oum-image-preview-grid .image-preview-item.dragging {border-color: #e82c71 !important}            \/* List Styles *\/            .open-user-map-locations-list .oum-locations-list-item .oum_location_text a {color: #e82c71 !important}             .open-user-map-locations-list .oum-locations-list-item .oum_location_text .oum_vote_button_wrap .oum_vote_button.voted {background: #e82c71 !important; border-color: #e82c71 !important;}`;                                  \/* custom map height *\/          oum_custom_css += `            @media screen and (max-width: 768px) {.open-user-map .box-wrap &gt; .map-wrap {padding: 0 !important; height: 60vh !important; aspect-ratio: unset !important;}}`;                var custom_style = document.createElement(&#039;style&#039;);        if (custom_style.styleSheet) {          custom_style.styleSheet.cssText = oum_custom_css;        } else {          custom_style.appendChild(document.createTextNode(oum_custom_css));        }        document.getElementsByTagName(&#039;head&#039;)[0].appendChild(custom_style);        \/* Add initial CSS to prevent flash of unstyled content *\/        var initialStyles = document.createElement(&#039;style&#039;);        initialStyles.textContent = `          .oum-hidden {            opacity: 0 !important;            visibility: hidden !important;            transition: opacity 0.3s ease, visibility 0.3s ease;          }          .oum-filter-controls,          .open-add-location-overlay,          #oum_filter_markers,          .oum-advanced-filter-button,          .oum-advanced-filter-panel,          .oum-sidebar {            opacity: 0;            visibility: hidden;            transition: opacity 0.3s ease, visibility 0.3s ease;          }          .oum-filter-controls.visible,          .open-add-location-overlay.visible,          #oum_filter_markers.visible,          .oum-advanced-filter-button.visible,          .oum-advanced-filter-panel.visible,          .oum-sidebar.visible {            opacity: 1;            visibility: visible;          }        `;        document.head.appendChild(initialStyles);      }    &lt;\/script&gt;  &lt;\/div&gt;&lt;\/div&gt;  &lt;\/div&gt;&lt;\/div&gt;\" style=\"color:#f6f6f4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code data-no-translation=\"\" data-no-auto-translation=\"\"><span class=\"line\"><span style=\"color: #F6F6F4\">&#091;open-user-map ids=&quot;1|2|3&quot;&#093;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">OR<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">&#091;open-user-map types=&quot;food|drinks&quot;&#093;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>En <strong>ids<\/strong> son los ids de los puestos de las ubicaciones. Y los <strong>tipos<\/strong> son las Categor\u00edas de Marcadores.<\/p>\n\n\n\n<p>Separe varios elementos con un s\u00edmbolo de tubo.<\/p>","protected":false},"excerpt":{"rendered":"<p>S\u00ed, puede limitar las ubicaciones visibles en el mapa. Editor de bloques \/ Elementor Puede limitar las ubicaciones visibles por ID o categor\u00edas de marcador en la configuraci\u00f3n de bloques: Shortcode Puedes limitar las ubicaciones visibles por IDs o Categor\u00edas de Marcadores con atributos adicionales de Shortcode: Los ids son los post ids de los ... <a href=\"https:\/\/www.open-user-map.com\/es\/knowledge-base\/can-i-show-only-specific-locations\/\">Contin\u00faa en<\/a><\/p>","protected":false},"author":50,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[53],"ht-kb-tag":[58,55],"class_list":["post-5643","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-faq","ht_kb_tag-custom","ht_kb_tag-marker"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Can I show only specific locations? - Open User Map<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.open-user-map.com\/es\/knowledge-base\/can-i-show-only-specific-locations\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Can I show only specific locations? - Open User Map\" \/>\n<meta property=\"og:description\" content=\"Yes, you can limit the locations displayed on the map. Block Editor \/ Elementor You can narrow down the visible locations by IDs or Marker Categories in the Block Settings: Shortcode You can narrow down the visible locations by IDs or Marker Categories with additional Shortcode attributes: The ids are the post ids of the &hellip; Continued\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.open-user-map.com\/es\/knowledge-base\/can-i-show-only-specific-locations\/\" \/>\n<meta property=\"og:site_name\" content=\"Open User Map\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-02T11:34:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2024\/09\/image-2.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/\"},\"author\":{\"name\":\"Daniel Sch\u00f6nherr\",\"@id\":\"https:\/\/www.open-user-map.com\/#\/schema\/person\/d9c8cbe470ae2702b6de61e0f73a7402\"},\"headline\":\"Can I show only specific locations?\",\"datePublished\":\"2024-09-02T11:34:42+00:00\",\"dateModified\":\"2024-09-02T11:34:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/\"},\"wordCount\":76,\"publisher\":{\"@id\":\"https:\/\/www.open-user-map.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2024\/09\/image-2.png\",\"inLanguage\":\"es\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/\",\"url\":\"https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/\",\"name\":\"Can I show only specific locations? - Open User Map\",\"isPartOf\":{\"@id\":\"https:\/\/www.open-user-map.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2024\/09\/image-2.png\",\"datePublished\":\"2024-09-02T11:34:42+00:00\",\"dateModified\":\"2024-09-02T11:34:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/#primaryimage\",\"url\":\"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2024\/09\/image-2.png\",\"contentUrl\":\"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2024\/09\/image-2.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.open-user-map.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Can I show only specific locations?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.open-user-map.com\/#website\",\"url\":\"https:\/\/www.open-user-map.com\/\",\"name\":\"Open User Map\",\"description\":\"WordPress Map Plugin\",\"publisher\":{\"@id\":\"https:\/\/www.open-user-map.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.open-user-map.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.open-user-map.com\/#organization\",\"name\":\"Open User Map\",\"url\":\"https:\/\/www.open-user-map.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/www.open-user-map.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/09\/icon-256x256-1.png\",\"contentUrl\":\"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/09\/icon-256x256-1.png\",\"width\":256,\"height\":256,\"caption\":\"Open User Map\"},\"image\":{\"@id\":\"https:\/\/www.open-user-map.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.open-user-map.com\/#\/schema\/person\/d9c8cbe470ae2702b6de61e0f73a7402\",\"name\":\"Daniel Sch\u00f6nherr\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u00bfPuedo mostrar s\u00f3lo lugares espec\u00edficos? - Open User Map","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.open-user-map.com\/es\/knowledge-base\/can-i-show-only-specific-locations\/","og_locale":"es_ES","og_type":"article","og_title":"Can I show only specific locations? - Open User Map","og_description":"Yes, you can limit the locations displayed on the map. Block Editor \/ Elementor You can narrow down the visible locations by IDs or Marker Categories in the Block Settings: Shortcode You can narrow down the visible locations by IDs or Marker Categories with additional Shortcode attributes: The ids are the post ids of the &hellip; Continued","og_url":"https:\/\/www.open-user-map.com\/es\/knowledge-base\/can-i-show-only-specific-locations\/","og_site_name":"Open User Map","article_modified_time":"2024-09-02T11:34:43+00:00","og_image":[{"url":"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2024\/09\/image-2.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/#article","isPartOf":{"@id":"https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/"},"author":{"name":"Daniel Sch\u00f6nherr","@id":"https:\/\/www.open-user-map.com\/#\/schema\/person\/d9c8cbe470ae2702b6de61e0f73a7402"},"headline":"Can I show only specific locations?","datePublished":"2024-09-02T11:34:42+00:00","dateModified":"2024-09-02T11:34:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/"},"wordCount":76,"publisher":{"@id":"https:\/\/www.open-user-map.com\/#organization"},"image":{"@id":"https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/#primaryimage"},"thumbnailUrl":"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2024\/09\/image-2.png","inLanguage":"es"},{"@type":"WebPage","@id":"https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/","url":"https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/","name":"\u00bfPuedo mostrar s\u00f3lo lugares espec\u00edficos? - Open User Map","isPartOf":{"@id":"https:\/\/www.open-user-map.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/#primaryimage"},"image":{"@id":"https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/#primaryimage"},"thumbnailUrl":"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2024\/09\/image-2.png","datePublished":"2024-09-02T11:34:42+00:00","dateModified":"2024-09-02T11:34:43+00:00","breadcrumb":{"@id":"https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/#primaryimage","url":"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2024\/09\/image-2.png","contentUrl":"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2024\/09\/image-2.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.open-user-map.com\/knowledge-base\/can-i-show-only-specific-locations\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.open-user-map.com\/"},{"@type":"ListItem","position":2,"name":"Can I show only specific locations?"}]},{"@type":"WebSite","@id":"https:\/\/www.open-user-map.com\/#website","url":"https:\/\/www.open-user-map.com\/","name":"Open User Map","description":"Plugin de mapas de WordPress","publisher":{"@id":"https:\/\/www.open-user-map.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.open-user-map.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/www.open-user-map.com\/#organization","name":"Open User Map","url":"https:\/\/www.open-user-map.com\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.open-user-map.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/09\/icon-256x256-1.png","contentUrl":"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/09\/icon-256x256-1.png","width":256,"height":256,"caption":"Open User Map"},"image":{"@id":"https:\/\/www.open-user-map.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.open-user-map.com\/#\/schema\/person\/d9c8cbe470ae2702b6de61e0f73a7402","name":"Daniel Sch\u00f6nherr"}]}},"_links":{"self":[{"href":"https:\/\/www.open-user-map.com\/es\/wp-json\/wp\/v2\/ht-kb\/5643","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.open-user-map.com\/es\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.open-user-map.com\/es\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.open-user-map.com\/es\/wp-json\/wp\/v2\/users\/50"}],"replies":[{"embeddable":true,"href":"https:\/\/www.open-user-map.com\/es\/wp-json\/wp\/v2\/comments?post=5643"}],"version-history":[{"count":0,"href":"https:\/\/www.open-user-map.com\/es\/wp-json\/wp\/v2\/ht-kb\/5643\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.open-user-map.com\/es\/wp-json\/wp\/v2\/media?parent=5643"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.open-user-map.com\/es\/wp-json\/wp\/v2\/ht-kb-category?post=5643"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.open-user-map.com\/es\/wp-json\/wp\/v2\/ht-kb-tag?post=5643"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}