Script in block is not appearing anymore

Posted in: Newspaper
Post count: 19

I used a script in my home page (https://loirexplorer.com) to show a map comming from a pluging but with newspaper 9 if the script still exist, it doesn’t show anything. Can you tell me what could I do to show this map again ? Here is the script of the map:
<div id=”cpm_XalZml” class=”cpm-map” style=”display: none; width: 100%; height: 450px; clear: both; overflow: hidden; margin: 0px auto;”></div>
<script type=”text/javascript”>
var cpm_language = {“lng”:”fr”};var cpm_api_key = ‘AIzaSyB8m7vOGV5UjZGTxg2-EBoC9hLNxpKj8ZQ’;
var cpm_global = cpm_global || {};
cpm_global[‘cpm_XalZml’] = {};
cpm_global[‘cpm_XalZml’][‘zoom’] = 10;
cpm_global[‘cpm_XalZml’][‘dynamic_zoom’] = true;
cpm_global[‘cpm_XalZml’][‘markers’] = new Array();
cpm_global[‘cpm_XalZml’][‘shapes’] = {};
cpm_global[‘cpm_XalZml’][‘display’] = ‘map’;
cpm_global[‘cpm_XalZml’][‘drag_map’] = true;
cpm_global[‘cpm_XalZml’][‘route’] = false;
cpm_global[‘cpm_XalZml’][‘polyline’] = false;
cpm_global[‘cpm_XalZml’][‘show_window’] = true;
cpm_global[‘cpm_XalZml’][‘show_default’] = true;
cpm_global[‘cpm_XalZml’][‘MarkerClusterer’] = true;
cpm_global[‘cpm_XalZml’][‘mode’] = ‘DRIVING’;
cpm_global[‘cpm_XalZml’][‘highlight_class’] = ‘cpm_highlight’;
cpm_global[‘cpm_XalZml’][‘legend’] = false;
cpm_global[‘cpm_XalZml’][‘legend_title’] = ”;
cpm_global[‘cpm_XalZml’][‘legend_class’] = ”;
cpm_global[‘cpm_XalZml’][‘search_box’] = true;
cpm_global[‘cpm_XalZml’][‘kml’] = ”;
cpm_global[‘cpm_XalZml’][‘your_location’] = true;
cpm_global[‘cpm_XalZml’][‘your_location_icon’] = ‘https://loirexplorer.com/wp-content/plugins/codepeople-post-map/images/icons/star.png&#8217;;
cpm_global[‘cpm_XalZml’][‘your_location_title’] = ‘Vous êtes ici’;
cpm_global[‘cpm_XalZml’][‘refresh_location’] = ”;
cpm_global[‘cpm_XalZml’][‘highlight’] = true;
cpm_global[‘cpm_XalZml’][‘type’] = ‘ROADMAP’;
cpm_global[‘cpm_XalZml’][‘mousewheel’] = true;
cpm_global[‘cpm_XalZml’][‘zoompancontrol’] = true;
cpm_global[‘cpm_XalZml’][‘typecontrol’] = true;
cpm_global[‘cpm_XalZml’][‘streetviewcontrol’] = true;
</script><noscript> codepeople-post-map require JavaScript </noscript>

Post count: 35449

Hi,

After further deeper investigations, we found a quick solution in this case. Please follow the next images and try to make the changes from these -> https://www.screencast.com/t/tq7JYQ6XmV -> https://www.screencast.com/t/einHpS3PKc7 -> https://www.screencast.com/t/dE9kgZKp6 Maybe you can improve the rating!

Thanks for your understanding!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.