Well, since you've already got your map up and running, all you really
need is this portion:
...
</style>
Copy and paste this into your code directly below the existing <script
src="
http://maps.google.com...">'s closing tag (which is on the line
below where it starts)
Then, add the map.addControl(...) bit directly after the line reading
map.addControl(new GSmallMapControl());
That should add the gm.LocalSearch control for you. However, I don't
know that you're going to like what it will do for you. Generally
speaking, it will find the area you enter into the search control, but
it will also find up to 8 other businesses, etc., in that same area
and zoom as close as it can to see all of those entries. It will also
place markers on all of them, possibly obscuring your own markers. So
you may want to build your own custom control that won't place markers
but only center and zoom on the specified area.
Jeremy R. Geerdes
Effective website design & development
Des Moines, IA
For more information or a project quote:
http://jgeerdes.home.mchsi.com
jgee...@mchsi.com
If you're in the Des Moines, IA, area, check out Debra Heights
Wesleyan Church!