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'}

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'}

Last Updated on Saturday, 29 December 2012 13:00
 

Advertisement