New file! -- http://www.garyrowe.co.uk/ic/maps/map4.html

Success! Partially.

The GControl overlay now appears which is perfect.

But if I comment out the original sidebar, then the GControl sidebar
doesn’t display the list of markers, however the markers still appear
and work when clicked.

So to rectify that minor glitch in the style of the original sidebar
div I’ve hidden it.

Even though its hidden I know the tickboxes are filtering the original
sidebar div but they’re not effecting the GControl layer.

So what is the problem now?

http://www.garyrowe.co.uk/ic/maps/map4.html


On Jan 20, 12:11 pm, Andrew Leach <[email protected]>
wrote:
> On Jan 20, 11:58 am, Gary <[email protected]> wrote:
>
> > I've tried a few different things and comment your name in there
> > Andrew, I really thought what I was try was going to work.
>
> Your **control** which holds the div is called labelControl -- that's
> the name of the constructor function -- so you need to add that:
> map.addControl(new labelControl());
>
> This is definitely wrong:
> map.addControl(new GLargeMapControl(), new labelContainer());
> because addControl doesn't work like that. The second parameter should
> be a position, not another 
> control.http://code.google.com/apis/maps/documentation/reference.html#GMap2.a...
>
> Currently your page as displayed starts with
> -->
> so you have disrupted an HTML comment somewhere, and there is an error
> "GBrowserIsCompatible is not defined" so there's probably a { ... }
> mismatched as well.
>
> 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.


Reply via email to