Right, I mis-read your question.

My understanding (correct me if I'm wrong guys) is there is no direct
method to do this
http://code.google.com/apis/maps/documentation/v3/controls.html#ControlModification
Only lets you control positioning, visibility and so forth.

If you really need to achieve this 50px offset, maybe consider hiding
the defaultUI, and creating 4 custom controls (all with a mapType
switching function)

So in essence, you are re-creating the default navigationControls with
your custom controls (granted it takes more code to do this)



On Feb 9, 9:05 am, Eclipse <[email protected]> wrote:
> That is easy with a custom control, but how to do just that with the
> standard navigation control?
>
> On 8 fév, 22:22, pete <[email protected]> wrote:
>
> > 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
>
>

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