2012-06-14, 09:03:57
islander Wrote:student Wrote:Hi! Thanks for the work! Just that I have slight problems with the plugin. When I add another marker to google map, all markers disappear. 2 or more balloon tips work though, when I press (show the balloon tip,..) I `ve done upgrade to 3.1.1, upgrated all plugins and done healthy check. Can´t see any problem there.
Here is what I did to fix this problem:
First, you need to have both an image and shadow, if you are missing one of these, it will break all icons.
Next, as I mentioned above, the axis alignment doesnt seem to work, so what I did was, in "plugins/googlemap.php", change line 773 from
toCode:'imagepos' => (isset($_POST["gmap_anchor_$nom"][$z]['imagepos'])) ? $_POST["gmap_anchor_$nom"][$z]['imagepos'] : 0 ,
Code:'imagepos' => (isset($_POST["gmap_anchor_$nom"][$z]['imagepos'])) ? $_POST["gmap_anchor_$nom"][$z]['imagepos'] : "cent-bot" ,
and line 775 from:
toCode:'shadowpos' => (isset($_POST["gmap_anchor_$nom"][$z]['shadowpos'])) ? $_POST["gmap_anchor_$nom"][$z]['shadowpos'] : 0,
Code:'shadowpos' => (isset($_POST["gmap_anchor_$nom"][$z]['shadowpos'])) ? $_POST["gmap_anchor_$nom"][$z]['shadowpos'] : "left-bot" ,
To set a default axis position for both.
Hope this helps
Thank you very much! The plugin works perfectly now!
![Smile Smile](http://get-simple.info/forums/images/smilies/smile.gif)