Skip to content

Second map not loading #186

@gecanben

Description

@gecanben

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions