Hi!
Great Extra for MODx.
Thank you Mr Coroico!
I think that you can scream "Cocorico".
I use Gmaps 1.0.1 on MODx Evo.
I have difficulties because default Google icon doesn’t display on the map.
I have only one marker on a map and one map by page.
I’ve tested the solution of dflock but I assume that this is for Gmaps on Revo.
I’ve also seen the note saying that markers don’t display if "Latitude,longitude" value is wrong (improvment from 1.0.0 to 1.0.1 version).
But I don’t think that it’s my mistake. It isn’t so hard to put two values separated by a coma in a TV.
Note: I use the same values for &mapLatLng and &mkrLatLngTv.
But in my call I’ve tested to put &mapLatLng=[*mkrLatLng*] and it works great (TV direct reference). But the same soluce doesn’t work for &mkrLatLngTv. It doesn’t work if I put values, for example: &mkrLatLngTv=`46.7056198,6.837485499999957`
Then I suppose that there is a problem with the code of Gmaps.
Here is my call:
[!Gmaps?&language=`fr` &zoom=`14` &mapType=`ROADMAP` &mapWidth=`100%` &mapHeight=`450px` &scalable=`1` &mapLatLng=`[*mkrLatLng*]` &mkrLatLngTv=`mkrLatLng` &mkrClick=`none` &mkrIconTv=``!]
And a test page:
http://www.blups.ch/5000-appartement-lucens.html
I have made a lot of tests and now I ask for support because I can’t find the point.
Thank you for your help.
Config:
MODx Evo 1.0.5
System: Linux
Server API: Apache 2.0 Handler
PHP: 5.2.17
BDD MySQL Ver 14.12 Distrib 5.0.84
Client side: Windows 7 with IE 9, Firefox 5.0, Google Chrome 12.0.742.112, Safari 5.0.5, Opera 11.50