Clicca quì per scoprire come guadagnare in Internet con Google AdWords
Powered by MaxBlogPress close 

Plugin Joomla per visualizzare la cartina di Google Maps sul sito

Questo post è stato scritto da Daniele il 2 dicembre, 2010
Inserito in: Plugin per Joomla

La maggior parte dei siti aziendali (basati su Joomla, su WordPress o totalmente “fatti a mano”) contiene una sezione “Dove Siamo”, una pagina cioè con tutte le indicazioni geografiche per raggiunger la sede dell’azienda.

L’ultima tendenza è quella di inserire e integrare in questa pagina la cartina di Google Maps, che permette di zoomare e navigare tra le strade e le zone circostanti alla sede. Per facilitare e personalizzare l’inserimento di questa cartina su un sito con Joomla io utilizzo…

il mambot “plugin_googlemap2″. Questo plugin è in continuo sviluppo e potete scaricare qua l’ultima versione: Download .

Di facile utilizzo, ha un’interfaccia semplice con molte opzioni, quì di seguito una breve spiegazione dei principali parametri da poter impostare:

width, height to whatever you want although if its too small, you won’t see very much.
You must put the units behind the number like 100% or 400px
lon, lat for the coordinates or address to search for the coordinates (use standard of your country)
zoom can be anything as specified in the Google Maps API.
zoomType can be Small or Large, this controls the type of zoom function displayed or None so there is no zoomcontrol.
zoomNew can be 1 for continues zoom and doubleclick and zoom or 0 for click to center (default 0)
zoomWheel can be 1 for mousewheel zoom and 0 for no mousewheel zoom (default 0)
mapType can be Normal (default), Satellite or Hybrid.
showMaptype is 0 for no Maptype controls and 1 shows Maptype controls (default 1)
Overview is 0 for no overview window in bottom right corner and 1 shows the overview and 2 for overview enabled but close initially (default 0)
text is for the marker, that will show on the map with a balloon/infowindow. If you don’t want to see the text, just set text=” and it will not display, the text is the data displayed above the location pin. Usually it would be used to display an address or hyperlink. A hyperlink is possible use the format: < a href=linkAddress target=linkTarget title=linkTitle>linkName< /a>. Don’t use (double) quotes!
marker is for opening the infowindow (1 default) or close the infowindow (0) initially.
dir for adding get directions form for a route at maps.google.com to the coordinates.
tooltip is for the marker to have a tooltip when the mouse is on the marker (don’t use HTML)
address is for a address to search for the coordinates
gotoaddr for a searchfield and button so the user can search a address on the map (default 0)
kml for a url to a kmlfile to load as a overlay on the map for multiple markers or a route
align is for placement of the map in the content (left, right, center or none)

Se vuoi saperne di più:


Ebook