Googlemaps Plugin

- Yes
Version 3.0 is the latest version.
This version will not automatically update in Joomla 2.5/3.0. Because the internal name of the plugin is changed so you need to do a special update:
1. Install the new version 3.0. This is a new plugin, it does not replace the version 2.x plugin!
2. Do not open the plugin configuration! First you need to enable the new system plugin called "System - Google Map" in the list of plugins by clicking the red dot in the status column. This is the only way to copy all your parameters from the old plugin to the new one!
3. After enabling the plugin in the correct way (point 2) you can check if the settings of the old plugin are copied correctly by opening the new plugin configuration settings.
4. After that you can disable the old system plugin called "Google Map"
This is a version that only support google maps api version 3! Version 2 is deprecated from November 2013 so we need to migrate.
Also added language support for all the parameters: English, French, Italian, Spanish and Swedish.
Please send me language files so I can add them to the plugin. Goto my website to contact me.
Look at the demo site first for documentation. If you've problems please do the checklist on the site: http://tech.reumer.net/Google-Maps/Documentation-of-plugin-Googlemap/checklist-placing-plugin-in-article.html
If this doesn't help or you have questions or new wishes please fill in the form on my website with an url that shows the problem and version of the plugin and Joomla.
Usage:
{mosmap width='500'|height='400'|lat='52.052312'|lon='4.447141'|
zoom='3'|mapType='Satellite'|text='svDWO'|tooltip='DWO'|marker='1'|align='center' }
(when editing article goto html view to remove returns or < br /> when you copy this example)
3.0 is a stable version and the following changes are made:
* Added Virtual refresh for new design Google Maps
* Added Arcgis layer
* Added lookat and camera parameters and made flying possible for Earth maptype
* Added avoid toll for directions
* Added option to place directions form below the map
* Added clustering for Geoxml renderer
* Added parameter to set highlite for kml sidebar
* Added parameter to get external content for infowindow with GeoXML renderer
* Responsive and stays centered on the defined location
* Multiple MSID
* Added panoramio layer
* Added parameter input size for forms
* Added Swedish as language
* Changed geocoding from version 2 to version 3.
Solves the following errors:
* Custom centering of kml files
* Added an image for the control return to previous position
* Styling problems for directions, streetview and map
* Dependency on loading of the scripts
* Polygons in kml file now have outline and fill with GeoXML renderer
* Solved problem with address with quotes
* Multiple editors on page caused problems with pl
the only unresolvable issue i've found is with the modern business template (rockettheme). even then it works fine with every browser i've tried except ie7 (surprise?). the problem isn't with the plugin, it's the template.
If you want you can send me a email with a url of a page with the problem and I'll have a look if I can solved it.
All in all an excellent little mambot\plugin.
to make it compatible with J!B2
edit the xml file and replace tags with
Hello,
i've tested your component on joomla 1.5 and i think i'll use it in the futur !
First of all i made modifications to use it with j!1.5 Beta 2 :
in xml file change line 3 to :
change line 156 to :
in the plugin_googlemap2.php at line 241 i replace :id = intval( mosGetParam( $_REQUEST, 'id', null ) );
with:
$id = JRequest::getVar('id', null);
comment line 112 and uncommented line 113 for permissions access
that's done
I'll make these adjustments to work with J!B2 in the next version.
Thanks Jean-Philippe
Mike
A couple of keys that I learned the hard way:
1. The kml filename must be all lower case. For example, 'map1.kml' NOT 'Map1.kml'.
2. The admin must remember that the default lon and lat settings and zoom level in the plugin attributes define the starting view. So if we have a zoomed-in starting point in Europe, then it will appear as though our US map is not functioning properly. So since most of my maps are US-based, I set my attributes to be midwest US zoomed way out. Then I am using the 'zoom='x'|' command within the mosmap tag to zoom in within the content article.
3. Installers must remember to modify the template html as described in the wiki, otherwise we lose functionality in IE.
I also eventually figured out that we can simply use Docman to upload the kml files. This keeps it simple for the site owners who may not have that much tech expertise. The only trick then is to use the mosmap path kml=http://www.sitename.com/docs/filename.kml. Very simple.
Also, Mike Reumer emailed me with some help within 48 hours of my initial inquiry. Thanks Mike!
Definitely I recommend this plugin. Just be patient and use the many Joomla community resources that are available. You will figure it out and have no regrets!
Because it's pseudo-code this isn't terribly useful for people with zero coding know-how, but for the average Joomla web master, it's a piece of cake. It would be nice too if there were some more options in the config for this mambot to open the Google info box and put all sorts of miscellaneous info in there like phone numbers, images, etc. But the mambot's beauty is in its simplicity.
Also, note that If you run into a "file_get_contents" error when you run this mambot, check your php.ini file - I had this problem. Make sure that "allow_url_fopen" is set to "on" in php.ini.
Some hints and tips for others... The googleapi key doesn't seem to have been activated at thier end until 5-6 hours later. I found mention somewhere of this and just retried it and everything works as per instructions...
Those complaining or not on accuracy, you can't use any map for the lat/lon because lat/lon is not unique.. but depends on the spheroid, and datum ... save youself some pain and google geodesic system.
I guess google uses WGS 84 since its integrating satellite data.
have fun
The plugin provides the potential for a number of maps and markers to be added to several content pages.
A must for any club or business.
Puts your site right on the map.
The program works best when the exact longtitude and lattitudes were used and I went to http://www.satsig.net to get spot on markers
The map will initially display in IE7 and you can pan it around but when you try zooming you get a blank area where the map was originally. Other than that it is impressive.
Try not using a relative width (like 100%) but use a absolute width (like 600px).
This can help.


