maplace.js
maplace.js copied to clipboard
Second map not loading
Hello, I'm trying to generate two maps for different languages. The code I use is:
$(function() {
var LocsEsp = [
{
...
}
];
var LocsEng = [
{
...
}
];
new Maplace({
locations: LocsEsp,
map_div: '#gmap-esp',
controls_title: 'Elige una base:'
}).Load();
new Maplace({
locations: LocsEng,
map_div: '#gmap-eng',
controls_title: 'Choose a location:'
}).Load();
});
The first map renders prefectly but the second one just show the empty div. Both with defined width and height.
Thank you.