Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Second map not loading #186

Open
gecanben opened this issue Nov 12, 2018 · 0 comments
Open

Second map not loading #186

gecanben opened this issue Nov 12, 2018 · 0 comments

Comments

@gecanben
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant