Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

'addMarker' using address fails #10

Open
d-danger opened this issue Jan 24, 2014 · 0 comments
Open

'addMarker' using address fails #10

d-danger opened this issue Jan 24, 2014 · 0 comments

Comments

@d-danger
Copy link

While this works perfectly:

$('#map').gMap({
    maptype: 'ROADMAP',
    zoom: 10,
    latitude: 51.51,
    longitude: -0.05,
    markers: [{
        address: 'London'
    }]
});

this doesn't work:

$('#map').gMap({
    maptype: 'ROADMAP',
    zoom: 10,
    latitude: 51.51,
    longitude: -0.05
});

$('#map').gMap('addMarker',{
    address: 'London'
}); 
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant