On Sep 23, 5:30 pm, Daniel H <[email protected]> wrote: > OMG, it worked! Thank you so much, Larry! I've been fiddling with this > for two days, and you just solved it in two minutes.
The key is to pay attention to your javascript errors. The "myOptions undefined" error lead straight to the line that needed to be removed. -- Larry > > On Sep 23, 8:06 pm, "[email protected]" <[email protected]> > wrote: > > > > > On Sep 23, 4:47 pm, Daniel H <[email protected]> wrote: > > > > Hi, > > > > I am desperate to string together two types of maps: the stylized "hip > > > hop" map and a map that imports a KML file. I don't have experience in > > > JAVA, but I have gotten this far:http://pastehtml.com/view/1b6ikfy.html. > > > You'll notice lines 60-63 I attempt to bring in the KML data, but to > > > no avail. > > > > can anyone please help me combine the two types of maps into a single > > > file? > > > I get a javascript error: > > myOptions is undefined. > > > You are defining the map variable twice. If you remove the second > > one, it should work. > > > -- Larry > > > > THANKS!! > > > > Daniel Hadley- Hide quoted text - > > - Show quoted text - -- 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 [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-js-api-v3?hl=en.
