On Oct 12, 4:45 pm, steve <sijun...@gmail.com> wrote:
> Thanks. It works now. Need to use "+".  But does that mean I need to
> create a new fusion table layer even though I am working with same
> table?

Does what mean you need a new fusion table layer?

Nothing Rossko said implied that to me.  If you make your layer (or
leyer) variable global rather than local to the initialize function
you address the other issue he mentioned (html events execute in the
global context).

  -- Larry

>
> Steve
>
> On Oct 12, 2:15 am, Rossko <ros...@culzean.clara.co.uk> wrote:
>
>
>
>
>
>
>
> > >                 layer.setQuery("select geometry from 1813014 where name=" 
> > > &
> > > schoolID);
>
> > Have you looked at your browser's javascript error message?
> >       'layer' is not defined
>
> > A 'leyer' was used in your initialize() function, but that is no
> > longer available after initialize() has completed, when the dropdown
> > is used.
> > Look into javascript "variable scope".
>
> > You also need to check how to concatenate strings in javascript, "&"
> > is not the operator you think.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to