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 at
http://groups.google.com/group/google-maps-api?hl=en.