Local Search PDF Print E-mail
Written by Mike Reumer   
Friday, 04 April 2008 23:03

You can ad local search to your map. It's possible to show ads and link them to your adsense account and specific channel. Can't be used with Googlebar!

{mosmap localsearch='1'|adsense='pub-1234567890'|channel='1234567890'|searchtext='pizza'} 

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.

Extra parameters:

searchtext - direct search results on your map.

searchlist

  • suppress - The results will not be shown in a overlay.
  • inline - The results will be shown in a overlay as a tabular list above the googlebar (default).
  • div - The plugin will create a div below the map where the results will be shown.
  • name of a div - Just add the name of a div to this parameter and make a div on your page to hold the results.

searchtarget 

  •  _self
  • _blank (default)
  • _top
  • _parent

searchzoompan

  • 0 No pan or zoom to show all results.
  • 1 pan and zoom to show results and show first result opened.
For more information on local search in google maps see: http://code.google.com/intl/nl/apis/ajaxsearch/local.html

You can place the result in a own div. Make in the article a div with a id so:

<div id = 'resultls'>&amp;nbsp;</div>

{mosmap localsearch='1'|searchlist='resultls'}

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.

 
Last Updated on Saturday, 03 January 2009 14:07
 

Advertisement