On Jan 20, 11:17 am, Gary <[email protected]> wrote: > I'd commented out both those out because they relate to the div side > bar and not the GControl one I'm trying to create. > > I've uncommented both now and there doesn't appear to be any errors on > the page. > However the custom GControl with the scrollable list of markers > doesn't appear below the map type controls.
You have created a variable called labelContainer, but that won't be a div until you add the labelControl to your map. You add several controls, but never that one. Hint: what you have done so far is write its creator function. You need to use the new keyword in a similar way to other controls you add to the map. Andrew
-- You received this message because you are subscribed to the Google Groups "Google Maps API" 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.
