Dear Xelawho,
Ok now the problem is that on page load the search box
and button appear but when is full loaded is gone missing. Any idea?
On Tue, Jun 14, 2011 at 12:38 AM, xelawho <[email protected]> wrote:
> 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.
>
>
--
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.