Joomla.it Forum
Joomla! 3 => Joomla! 3 => : steffen_due 29 Oct 2009, 09:09:59
-
Cosa deve cambiare per usare l'indirizzo invece Lat/Lng?
Grazie
-
Ciao steffen,
sorry but ContentMap works only with Lat/Lng
-
Ciao Ste e grazie per tua risponda
Forse e possibile di cambiare
new GLatLng
con
geocoder = new GClientGeocoder();
function showAddress(address, zoomvalue) {
geocoder.getLatLng(
address,
function(point) {
if (!point) {
alert(address + " nicht gefunden");
} else {
map.setCenter(point, zoomvalue);
}
}
);
}
in contentmap.php questi phrase
map.setCenter( new GLatLng( ".$params->get("keyref")."), ".$zoomlevel.");
map.setMapType(".$maptypes.");
map.enableDragging();
map.disableScrollWheelZoom();
var control;
var marker = new GMarker( new GLatLng( ".$params->get("keyref")."));
marker.bindInfoWindow(\" ".$linkarticolo."<br />".$article->created_by_alias."\");
map.addOverlay(marker);
if ($googlesearch==1){map.enableGoogleBar();}
}
var fenwayPark = new GLatLng(".$params->get("keyref").");
? No lo so come esatto devo fare ma pensi e possibile?
Grazie
saluti,
Steffen
-
opsssssss ti ho risposto in inglese :P
il file di cui parli è nel plugin, non nel modulo giusto?
prova con il codice che hai proposto, non saprei se può funzionare o meno...
-
si, e scusa - parlo del plugin.
lo code non funziona, sopratutto devo fare ricerca come usare API google map. Se qualcuno ha un'idea - mille grazie per contribuzione.
A piu tardi
Grazie
-
Ciao tutti
ho provato ma senza successo. C'e qualcuno con un idea?
so che possibile, mà ... >:(