Map with lightbox PDF Print E-mail
Written by Mike Reumer   
Wednesday, 17 October 2007 19:38

You can open the map in a lightbox. Just add the parameter lightbox to the mosmap or set it as a general option. You also can set the size of the lightbox with lbxwidth and lbxheight.
A caption is possible with lbxcaption and the zoomlevel can be set different then of the showed map by parameter lbxzoom.

{mosmap lightbox='1'|lbxwidth='600px'|lbxheight='600px'|lbxcaption='Map'|lbxzoom='16'}

JavaScript must be enabled in order for you to use Google Maps.
However, it seems JavaScript is either disabled or not supported by your browser.
To view Google Maps, enable JavaScript by changing your browser options, and then try again.

The map can be invisble in the article and only showed in a lightbox link Open lightbox inside the content of the article:

{mosmap lightbox='1'|lbxwidth='600px'|lbxheight='600px'|show='0'|align='none'}

You can change the text of the link in the configuration of the plugin. You can even make it a button or image by placing <img src='<url>' /> in the field text of the lightbox link in the configuration of the plugin.

Last Updated on Friday, 28 August 2009 20:41
 

Advertisement