Oohh, I just realized I am also missing the control bar that lets you switch between hybrid, satellite, and regular road map. I'd like to keep those displayed, too. This is getting complicated! ;-) Any ideas? THANKS SO MUCH.
On Jun 19, 7:23 pm, wildbug <[email protected]> wrote: > THANK YOU Ross K - it worked!! Yippeeee. Only this is I lost the zoom > control feature in the process. Any idea on how to get it to display > again? I prefer the larger zoom control if there is a choice.... > Here is my link again:http://mcssafehomes.com/?p=285 > > On Jun 19, 2:59 pm, Rossko <[email protected]> wrote: > > > > There is a link provided in my original email; > > > You're quite right - I got distracted by the code dump and missed > > that, sorry. > > > Anyways, because you are using that GSmapSearchControl tool, the map > > setup that you could alter is buried in there. I can't see where any > > GSmapSearchControl option is provided to change the default map type. > > > You *could* take a copy of GSmapSearchControl javascript to your own > > server, and modify that. > > > However, while looking through the documentation, I found that the > > example they've given of how to use the 'callback' feature happens to > > do exactly what you want. Just implement that example - > > http://www.google.com/uds/solutions/mapsearch/reference.html#_bootcom... > > just replace G_SATELLITE_MAP with G_HYBRID_MAP > > You don't need the second half after the 'Note'. Do a 'view source' > > on the given sample > > http://www.google.com/uds/solutions/mapsearch/boot-complete.html > > that's clearer > > > As an aside, your base webpage calls for the GSmapSearchControl twice > > - > > <script src="http://www.google.com/uds/solutions/mapsearch/ > > gsmapsearch.js ... > > obviously you can get rid of one of those. > > > cheers, Ross K --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
