On Nov 29, 12:39 pm, "[email protected]" <[email protected]>
wrote:
> On Nov 29, 9:29 am, "Bob Aldrich, N9RLA" <[email protected]> wrote:
>
> > I know this may be asking a lot but what needs to be changed to fix this?
>
> I would look at the test that determines which path it follows (I
> haven't had time to do that myself, and probably won't in the near
> future, but when I do, I will let you know if you don't fix it
> first...)

if (checked = true)
sets checked equal to true and always evaluates to true, it should be:
if (checked == true)

  -- Larry

>
>   -- Larry
>
>
>
>
>
>
>
>
>
> > Bob Aldrich, N9RLAwww.n9rla.net
>
> > -----Original Message-----
> > From: [email protected]
>
> > [mailto:[email protected]] On Behalf Of [email protected]
> > Sent: Monday, November 29, 2010 12:27 PM
> > To: Google Maps API V2
> > Subject: [Google Maps API v2] Re: Check boxes unstable in Embedded Google
> > Maps API
>
> > On Nov 29, 9:07 am, "Bob Aldrich, N9RLA" <[email protected]> wrote:
> > > The IE issue should be fixed.  I was just on the map in IE8.
>
> > It does now work in IE.  However, the toggleKML function still always
> > executes the "addOverlay" path (at least in IE, which is why the
> > overlays never get removed).
>
> >   -- Larry
>
> > > Bob Aldrich, N9RLAwww.n9rla.net
>
> > > -----Original Message-----
> > > From: [email protected]
>
> > > [mailto:[email protected]] On Behalf Of
> > [email protected]
> > > Sent: Monday, November 29, 2010 12:04 PM
> > > To: Google Maps API V2
> > > Subject: [Google Maps API v2] Re: Check boxes unstable in Embedded Google
> > > Maps API
>
> > > On Nov 29, 8:19 am, "Bob Aldrich, N9RLA" <[email protected]> wrote:
> > > > Just changed that.  It works in FF....
>
> > > Don't have access to FF at the moment...
>
> > > and you added another element to that array, but left the "hanging
> > > comma"
> > >   var kml = {
> > >   "WCARS Spotters":
> > >   {"url": "http://www.n9rla.net/WCARSSpotters.kmz"; },
> > >   "Radar":
> > >   {"url": "http://www.n9rla.net/latest_radaronly_Radar_data.kmz"; },
> > >   "NWS Warnings":
> > >   {"url": "http://www.n9rla.net/NWS_Warnings.kmz"; },
> > > }
>
> > > FYI - it looks like your code is always executing the "addOverlay"
> > > path in toggleKML, never the removeOverlay.
>
> > >   -- Larry
>
> > > > Bob Aldrich, N9RLAwww.n9rla.net
>
> > > > -----Original Message-----
> > > > From: [email protected]
>
> > > > [mailto:[email protected]] On Behalf Of
> > > [email protected]
> > > > Sent: Monday, November 29, 2010 10:51 AM
> > > > To: Google Maps API V2
> > > > Subject: [Google Maps API v2] Re: Check boxes unstable in Embedded
> > Google
> > > > Maps API
>
> > > > On Nov 29, 6:53 am, "Bob, N9RLA Aldrich" <[email protected]> wrote:
> > > > > Well, it's taken me weeks to get this far.  I'm new at this coding and
> > > > > finally made progress last night or should I say very early this
> > > > > morning, getting both my layers to show up BUT they come on when they
> > > > > are CHECKED and will not turn off when unchecked.  What have I done
> > > > > wrong?  This maps has two overlays...National weather radar and our
> > > > > storm spotter locations.  Thanks for any advice and help.  Remember
> > > > > you are dealing with a newb here.  Here is my map link:
>
> > > > >http://home.comcast.net/~n9rla/N9RLA%20Radar%20Mosaic3.html
>
> > > > Your map doesn't work at all in IE.  You have a comma after your last
> > > > element:
>
> > > >   var kml = {
> > > >   "WCARS Spotters":
> > > >   {"url": "http://www.n9rla.net/WCARSSpotters.kmz"; },
> > > >   "Radar":
> > > >   {"url": "http://www.n9rla.net/latest_radaronly_Radar_data.kmz"; },
> > > >     }
>
> > > >   -- Larry
>
> > > > > Regards
>
> > > > > Bob Aldrich, N9RLA
>
> > > > --
> > > > 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
> > > athttp://groups.google.com/group/google-maps-api?hl=en.
>
> > > > No virus found in this incoming message.
> > > > Checked by AVG -www.avg.com
> > > > Version: 9.0.872 / Virus Database: 271.1.1/3286 - Release Date: 11/29/10
> > > > 02:34:00- Hide quoted text -
>
> > > > - Show quoted text -
>
> > > --
> > > 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
> > athttp://groups.google.com/group/google-maps-api?hl=en.
>
> > > No virus found in this incoming message.
> > > Checked by AVG -www.avg.com
> > > Version: 9.0.872 / Virus Database: 271.1.1/3287 - Release Date: 11/29/10
> > > 02:34:00- Hide quoted text -
>
> > > - Show quoted text -
>
> > --
> > 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 
> > athttp://groups.google.com/group/google-maps-api?hl=en.
>
> > No virus found in this incoming message.
> > Checked by AVG -www.avg.com
> > Version: 9.0.872 / Virus Database: 271.1.1/3287 - Release Date: 11/29/10
> > 02:34:00- Hide quoted text -
>
> > - Show quoted text -

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