Reimers.dk

.NET, AJAX and Google APIs brought together
Welcome to Reimers.dk Sign in | Join | Help
in Search

Sidebar, overlays?

Last post 06-12-2010, 3:39 by jin123. 2 replies.
Sort Posts: Previous Next
  •  03-06-2007, 4:31 429

    Sidebar, overlays?

    When using the old version of your controller, i used

    Sidebar.Overlays = GMap.Overlays;

    To add overlays to the sidebar.

    But when i retrived the new verison, this method is obsolete.
    'Use Map property instead.'

    I thought I had to write the code like this then:

    Sidebar.Map = GMap.Overlays;

    But then of course I get an conversion error.

    Ive looked at the API for the .Map property for Sidebar, but I fail to understand ut.

    Sorry if this is a really easy question but im not the hardcore C# programmer.
    Filed under:
  •  03-06-2007, 4:51 430 in reply to 429

    Re: Sidebar, overlays?

    When the change was made in version 3.4 I explained in the accompanying blog post that the Map property should be set to the ID of the GoogleMap where the overlays are to be fetched from. So if your GoogleMap is called 'GMap' then you would write:

    Sidebar.Map = 'GMap'; 

  •  06-12-2010, 3:39 3116 in reply to 429

    Re: Sidebar, overlays?

    In the old one you can use it very easily.I am also doing this work on old version through that i come on new version and now i am using it.So it is really good thing.

    Los Angeles Moving Company
View as RSS news feed in XML