Home arrow Google Maps arrow Documentation of plugin Googlemap arrow Checklist placing plugin in article
Checklist placing plugin in article PDF Print E-mail
Written by Mike Reumer   
Tuesday, 12 June 2007

You can place the {mosmap} inside the content of article. Doesn't need to be in the html of the content.

Check the following parts:

  • For Joomla 1.5, check at the parameters of the plugin if the parameter published (on right side) is Yes.
    This parameter is default 'No'. The parameter is necessary so we can remove the {mosmap}  code if you want the plugin to be unpublished.

  • No <br /> inside the {} of the {mosmap}
  • No line break/return inside the {}
  • Place it at the start of a line

  • The plugin doesn't work correctly with the WYSIWYG editor JCE, because JCE doesn't place the code in one line and translates quotes and other special characters.
  • If you want to show a map in a module of component (like contacts) then you need to hack Joomla (see Joomla 1.0.x and Joomla 1.5.x ).
  • Place in your template all <meta> entities directly behind the <head> together.

  • Also check the css-file of your template and if it exists remove the following:

    div {
    overflow:hidden;
    }

  • I've you get a message the the google api key isn't valid. You can check the url of the website by entering: "javascript:alert('http://'+window.location.host)" in the addressfield of your browser.
  • For IE6: Check the template for a script that makes png's transparant. This can conflict with google maps (not with plugin)! Remove it or search for a script compatable with google maps or use a div as described below. The code could look like:

    <style type="text/css">
    #fxTab {background: none; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='templates/<?php echo $mainframe->getTemplate(); ?>/images/<?php echo $tstyle; ?>/fx-tab.png', sizingMethod='scale', enabled='true');}
    img { behavior: url(<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/iepngfix.htc); }
    </style>

    This is mostly plaved between:
    <!--[if lte IE 6]>
    ...
    <![endif]-->

  • Another solution to prevend that the pngfix effects the map is to place the map between a div with the following styling:
    div#map img { behavior: none; }
  • CorrectPNG mambot breaks it in IE (just a grey box with marker on it) but UltimatePNGFix mambot seems to work with Google Maps.
  • Version 2.11 has a different zoom. It's the other way around so if you have to convert it do zoom=19-oldzoom.
    The zoom is now the same mechanism as Google Map API.
Last Updated ( Monday, 26 May 2008 )
 
< Prev

Google Maps Menu

Mapmodule

Search

Google

Advertisement