Template shortcode not workink … map code is empty
-
Hi there. I think this google map plugin really rocks. But I got an issue. I’m using this in my custom index
<?php echo do_shortcode(‘[codepeople-post-map]’); ?>When browsing got this html code as part of shortcode
———
<div id=”cpm_Qjf9Qv” class=”cpm-map” style=”display:none; width:100%px; height:360px; clear:both; overflow:hidden; margin:10px auto;”></div>
<script type=”text/javascript”>
var cpm_language = {“lng”:”es”};var cpm_global = cpm_global || {};
cpm_global[‘cpm_Qjf9Qv’] = {};
cpm_global[‘cpm_Qjf9Qv’][‘zoom’] = 10;
cpm_global[‘cpm_Qjf9Qv’][‘dynamic_zoom’] = false;
cpm_global[‘cpm_Qjf9Qv’][‘markers’] = new Array();
cpm_global[‘cpm_Qjf9Qv’][‘display’] = ‘map’;
cpm_global[‘cpm_Qjf9Qv’][‘highlight_class’] = ‘cpm_highlight’;
cpm_global[‘cpm_Qjf9Qv’][‘highlight’] = true;
cpm_global[‘cpm_Qjf9Qv’][‘type’] = ‘ROADMAP’;
cpm_global[‘cpm_Qjf9Qv’][‘show_window’] = true;
cpm_global[‘cpm_Qjf9Qv’][‘show_default’] = true;
cpm_global[‘cpm_Qjf9Qv’][‘mousewheel’] = true;
cpm_global[‘cpm_Qjf9Qv’][‘zoompancontrol’] = true;
cpm_global[‘cpm_Qjf9Qv’][‘typecontrol’] = true;
</script>
——————
But there is no map!!!What I’m doing wrong?
Thanks, sorry to bother you, but this is kind of urgent….
The topic ‘Template shortcode not workink … map code is empty’ is closed to new replies.