Hi Esa,

Great. Thanks a lot.

best

On Feb 15, 11:55 pm, Esa <[email protected]> wrote:
> Constructing a custom GControl of your own would be the 'right' way.
>
> Quick and dirty way is to hack one of the standard GControls. The new
> GLargeMapControl3D() is easy to hack because its main <div> has an id
> attribute.
>
> Just set height of the <div> to 59px (same as width).
>
> One trouble is that due to modularization, it takes a few hundred
> milliseconds until the <div> exist.
>
> Easiest solution is a loop that tries to find the <div> in 100ms
> intervals till it is found.
>
> function hideZoom(){
>   if(document.getElementById("lmc3d")){
>     document.getElementById("lmc3d").style.height = "59px";
>   }else{
>     window.setTimeout("hideZoom()",100);
>   }}
>
> hideZoom();
>
> http://esa.ilmari.googlepages.com/nozoom.htm
>
> If you are using this hack on a serious page, you should set the api
> version to v=2.145. The id="lmc3d" attribute may change or vanish in
> future version changes.
>
> Actually the id attribute may cause trouble with multiple maps and
> thus I would not trust in its future.
--~--~---------~--~----~------------~-------~--~----~
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