javascript - How to make center_changed listener in Google Map API v3 only fire once? -


I am currently using 'center_changed', function () as latitude and latitude of the map center as a listener And then later call a reverse geocode method to convert latitude and LAG to an address. However, since the map is being dragged, since the center is firing more than once, I get an instant message "OVER_QUERY_LIMIT" from my reverse geocode method. Is there a way to set the center-changed listener only once?

Use the addlist list once the method.



Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

c# - Add Image in a stackpanel based on textbox input -

java - Reaching JTextField in a DocumentListener -