User login

Set GMap to not recenter when pop-up div opens

No answer, but this guy does seem to know what he's doing with maps:
http://lecturer.eng.chula.ac.th/fsvskk/gglmap2/gmad-v2x.html

probably old - January 31, 2006 - 2:24pm.
http://webgeer.com/gmapdemo

More no answer:
Google Maps API Reference (version 2)
http://www.google.com/apis/maps/documentation/reference.html

Resolution

Searched words: 
gmap do not recenter when popup opens Google Maps Drupal GMap module settings freeze map location

Comments

Pondering some partial answers

I haven't seen an answer for this after quite a bit of looking. I'm considering two possibilities (and would love comments if anyone thinks these are good or bad approaches):

1) the popup bubble is a set amount up and to the right of the point on the map. Dynamically change that so points in the southern hemisphere have a box starting on the equator, and points in the northern hemisphere point at the bottom left of the map. Hopefully this will keep the bubbles inside the map well enough that automatic resizing doesn't have to happen.

2) Replace the pop-up action completely. Implement a different on-click behavior. Not yet sure where to hook into the process.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.