Just to add to this, if you wish to do it outside the object itself
(i.e. to have a specific circumstance of one control) then call it
after you define your Object like so:

var homeControl = new HomeControl(homeControlDiv, map);
homeControlDiv.style.marginTop = "50px";

Cheers
Pete


On Feb 9, 8:20 am, pete <[email protected]> wrote:
> Hi there,
>
> Where you define your control Object, simply add a marginTop css
> property like so:
>
> var controlUI = document.createElement('DIV');
> controlUI.style.marginTop = '50px'; //Will offset the top margin
>
> Cheers
> Pete
>
> On Feb 9, 6:56 am, Eclipse <[email protected]> wrote:
>
> > I would like to add a vertical offset to the navigation control
> > position, i.e. move it say 50 pixels down from the TOP_LEFT position.
>
> > Anyway to achieve that as with API v2.
>
>

-- 
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.

Reply via email to