<div id="jsonbix-map-23757"><iframe id="iframe-map-23757" class="iframe-map" src="https://www.jsonbix.com/wp-admin/admin-ajax.php?action=gjme_publish&p=23757&key=4wpe67h7m6" width="100%" height="90%" style=" width: 100%; height: 90%; max-width: 100%; border: none; background: transparent;" border="0" frameborder="0" allowTransparency="true"></iframe></div>
<script type="text/javascript">
(function() {
"use strict";
/* use the id of the iframe: "iframe-map-23757" */
setResponsiveMap('iframe-map-23757');
/* resize the iframe: */
function setResponsiveMap(iframeId) {
var addEvt = 'addEventListener';
var evtName = 'message';
if(!window.addEventListener) {
addEvt = 'attachEvent';
evtName = 'on'+evtName;
}
window[addEvt](evtName, function(ev) {
var iframe = document.getElementById(iframeId);
if(!iframe) return;
if(ev.source != iframe.contentWindow) return;
var data = ev.data;
if(typeof(data) == 'string') data = JSON.parse(data);
if(!data.height || !data.width) return;
var newHeight = parseInt(data.height);
if(newHeight == 0 || isNaN(newHeight)) return;
iframe.setAttribute("height", newHeight);
iframe.style.height = newHeight + "px";
}, false);
};
}());
</script>