Use CSS margin styles on your custom control element.

<div id="myControl" style="margin-left:10px; margin-top:20px">my html</
div>

Martin.


On Apr 1, 5:01 am, YeeFung Man <[email protected]> wrote:
> hi,everybody!
>       i have a problem about how to change some codes from v2 to v3. the
> codes in v2 is that"var pos = new GControlPosition(G_ANCHOR_TOP_LEFT, new
> GSize(10,20)); "  ,then i can find the "ControlPosition"in v3,but it has no
> Parameters,i don't know how to optionally specify an offset.
>       thanks a lot!!!

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