How to open Jquery UI dialog box on Google Maps click.
Posted
by Vafello
on Stack Overflow
See other posts from Stack Overflow
or by Vafello
Published on 2010-03-25T01:13:20Z
Indexed on
2010/03/25
1:23 UTC
Read the original article
Hit count: 556
jQuery
|google-maps
I have a code like this:
GEvent.addListener(map, "click", clicked);
function clicked(overlay, latlng) {
$('#dialog').show();
};
Both clicked function and show() function works fine on their own but when I want to open dialog box by clicking on the map it does not. Any ideas?
© Stack Overflow or respective owner