Yes, the zoom and the position of the barycentre of all the markers are calculated (by Google API) for all the markers.
It is not possible, with this release, to specify which markers,should be used to set the barycentre.
A new release of Gmaps for Revo is available in the MODx repository. The version 1.0.3.
This version version fix an important issue with the displaying of the content of the infoboxes when friendly url are activated.
Take care the cheatsheet document has "Gmaps 1.0.5" as title. This is a documentation typo. The footer of the document refers to Gmaps 1.0.3 ed 1.5.
-
☆ A M B ☆
- 211 Posts
Excellent! I just updated and can confirm it is now working as expected.
I'm curious what was the issue with the friendly urls? I remember you had done a test on your own website and it seemed to be working so at one point I thought it was something on my end with my setup.
Another thing, this is more of a feature request if possible. I like on certain places where I use the map to have the infobox popup open as a default instead of requiring a click or a mouseover.
It would be useful to have a switch setting on the snippet call to allow for this.
Thanks for the great work and happy new year.
Jose R. Lopez
Thank You Coroico for this plugin... I trying to install this plugin on my website, but I will ask You later if I have any problems...
Now I'm confused...I trying to install but...I can see only Europe... but... I will come later with real question...
THANK YOU FOR THIS!
[ed. note: neehad last edited this post 14 years, 8 months ago.]
hello.
i have setup a map with multiple markers. All is ok, infoBox popup when i click on the marker.
I didnt find a way to show the infobox from a external link outside the map (i would lilke to do a menu in a sidebar..)
i know itsn't gmaps related but maybe someone here knows.
i tried something like this
<a href="javascript:displayInfoWindow(map,'ajax-infobox.txt',135,infobulle);"> myPlace </a>
but im stuck with the V3 API // 135 is my marker
CTRL+SHIFT+U - Clear Cache
CTRL+SHIFT+H - Hiding Heft Panel
CTRL+SHIFT+N - Fast Create Resource
CTRL+ALT+P - Preview Recource (in edit resorce window)
CTRL+ALT+S - Save
You can't call directly the displayInfoWindow function. But you could try:
href="ajax-infoboxbox.txt?mkrid=135"
where ajax-infoboxbox.txt is the friendly url name of the infobox ajaxholder document and 135 the marker id of the maker you would like see the infobox.
without FURL activated, try href="index.php?id=xxx&mkrid=135" where xxx is the id of the infobox ajaxholder document.
Try it and let me know the result
At the end i think my previous solution can't work. You will get the ajax answer but you can't show up the infobox.
I don't see a solution for this.
hello coroico, i did it last year manually with APIV" here
http://www.antigel.ch/2011/Infos-pratiques/lieux.html (look at the source maybe it's helpful) but with your snippet (which is great by the way) i didnt find my way.. T
CTRL+SHIFT+U - Clear Cache
CTRL+SHIFT+H - Hiding Heft Panel
CTRL+SHIFT+N - Fast Create Resource
CTRL+ALT+P - Preview Recource (in edit resorce window)
CTRL+ALT+S - Save