Skip to content
This repository has been archived by the owner on Nov 8, 2017. It is now read-only.

Map events don't work anymore after Geocomplete added #319

Open
rubenlpz opened this issue Mar 12, 2017 · 0 comments
Open

Map events don't work anymore after Geocomplete added #319

rubenlpz opened this issue Mar 12, 2017 · 0 comments

Comments

@rubenlpz
Copy link

I had a full working map with click events for adding and removing markers. Since I installed the geocomplete package all the events in the map doesn't work anymore. To make the click event to work again I have had to change it from:
google.maps.event.addListener(map.instance, 'click', function(event)
to:
$("#addressInput").geocomplete().bind("geocode:click", function(event, latLng)

But so far I haven't found a way to make my markers work again. Should I change the sintax too? In that case, there isn't any single piece in documentation who explain how...

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