maplace.js icon indicating copy to clipboard operation
maplace.js copied to clipboard

Second map not loading

Open gecanben opened this issue 6 years ago • 0 comments

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.

gecanben avatar Nov 12 '18 10:11 gecanben