MapwizeUI.map({
apiKey: '1f04d780dc30b774c0c10f53e3c7d4ea', // This is a demo key. It is not allowed to use it for production. The key might change at any time without notice. Get your key by signin up at mapwize.io
center: [3.020326, 50.633035],
zoom: 18,
restrictContentToVenueId: '56b20714c3fa800b00d8f0b5' // This is just to speed up this example, you don't need it
}).then(mapwizeMap => {
console.log('Maps is now ready to be used')
}).catch(err => {
// Something bad happened during Mapwize loading
console.error(err);
});
<div id="mapwize"></div>
#mapwize {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
External resources loaded into this fiddle: