Nope - changing that line to:

this.gmap = new GMap2(this.body.dom, new GSize(450, 500));

...doesn't see any change in the zoom value; still zero.

On Sep 25, 1:45 pm, Jangla <[email protected]> wrote:
> The text content should be misaligned as it's only a test page but it
> sould load - I only use FF to develop and it's fine here in 3.5. Also
> works in Google Chrome without issue (aside from this zoom problem, of
> course).
>
> The map's not really hidden, per se. It's not visible from the browser
> as it's on a tab that's not top-most but the map exists as an object.
> Certainly am in a position to alter the ux.GMapPanel code though so
> I'll have a crack at that.
>
> Thanks.
>
> On Sep 25, 12:58 pm, Andrew Leach <[email protected]>
> wrote:
>
> > On Sep 25, 12:49 pm, Jangla <[email protected]> wrote:
>
> > > ...always returns zero for zoom, despite the fact that the markers are
> > > in the UK and France only. Naturally, as the zoom is zero, the
> > > setCentre doens't operate as required either. I've also tried
> > > checkResize() before determining the zoom level and this has no effect
> > > either.
>
> > > You can see my code running 
> > > here:http://www.holiday-chateau.com/index.php?id=10790
>
> > > The map is on the second tab in and starts to load markers before you
> > > activate the tab.
>
> > I can't get this to load in Firefox: the page is all over the place.
>
> > However: it sounds like the map is hidden when you load the markers,
> > so its size may well be taken as zero, which will upset the zoom
> > calculation. The fix for this is to set the size in the new GMap2()
> > call, which is in Ext.ux.GMapPanel.js -- are you in a position to
> > alter this?
>
> > Andrew
--~--~---------~--~----~------------~-------~--~----~
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