Posted By: Michael Erb
Date: 2008-08-10 21:43
Summary: YM4R_GM Local Search options added
Project: YM4R

You can now add options (a javascript hash) to the local search control to modify it's look and behavior.

for all available options, please go to:
http://www.google.com/uds/solutions/localsearch/reference.html

example usage:
@map.control_init(:local_search => true, :local_search_options => '{suppressZoomToBounds : true, resultList : google.maps.LocalSearch.RESULT_LIST_INLINE, suppressInitialResultSelection : true, searchFormHint : 'Local Search powered by Google', linkTarget : GSearch.LINK_TARGET_BLANK}')

Latest News
icalendar 1.4.0 Released
    Ryan Ahearn - 2013-05-21 23:17
BinData 1.5.0 - source moved to github
    Dion Mendel - 2013-05-21 11:10
v13.5.0 Released !!
    id 774 - 2013-05-18 12:28
Runt v0.9.0 Released
    Matthew Lipper - 2013-05-17 00:11
kramdown 1.0.2 released
    Thomas Leitner - 2013-05-09 06:58

 

Forums | Admin

Discussion Forums: ym4r_gm-local-search-options-added

Start New Thread Start New Thread

 

Topic Topic Starter Replies Last Post