Iframe + GeoJSON
Show case for an Iframe and a GeoJSON layer through API JS
by SIGC GUADALTEL
HTML
<link rel="stylesheet" href="http://ggis.guadaltel.com/mapea4/assets/css/mapea.ol3.min.css">
<script src="http://ggis.guadaltel.com/mapea4/vendor/browser-polyfill.js"></script>
<script src="http://ggis.guadaltel.com/mapea4/js/mapea.ol3.min.js"></script>
<script src="http://ggis.guadaltel.com/mapea4/js/configuration.js"></script>
<!-- contenedor de API JS -->
<div id="mapaContainer"></div>
CSS
html,
body {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden;
}
div#mapaContainer {
height: 100vh;
width: 100vw;
}
JavaScript
M.map("mapaContainer");