I have put this statement map.addControl(new
> search_control()); at the end of createMap

interesting. did you try doing what I actually suggested? There are
various ways to resolve your null map error, but the one I describe
above should work OK for a quick & easy fix.

map.addControl will not work because search_control is not a GControl
and you are still initializing search_control before the map is set up.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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