> I know enough how to move some things around and
> see if it works, but not why or why not it is or isn't working.

Unfortunately, cut'n'paste won't get you very far in this game, that's
just the way it is.  You can become a programmer, hire one, or adjust
expectations :)

Let me try a bigger clue.  You added this line
   map.addControl(new google.maps.LocalSearch());
to your code.  That's going to look for a GMap2 object called 'map'
and add a search bar to it.
It fails, complaining it can't find an object called 'map' - it tells
you so, by ' map is not defined '.

Now look through your code to see where you DO define your map
object ... "something = new GMap2"
The 'something' is what your object is really called, so you need to
change the .addControl() to match, so that it tacks the LocalSearch
onto the right object.

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to