Thankyou so much Andrew, that worked a treat,

i think i was adding the size options wrongly.

have a look,
http://www.sullyworld.co.uk/edlets/popuptest.php


Thanks, thanks, thanks

Paul
www.greatdanerescue.co.uk

On Aug 21, 3:56 pm, Andrew Leach <[email protected]>
wrote:
> On Aug 21, 3:46 pm, "[email protected]"
>
> <[email protected]> wrote:
> > Sorry for being a novice,
>
> > could you give me the code for setting the Gmap2 size?
>
> map = new GMap2(document.getElementById("map"));
>
> needs to be
>
> map = new GMap2(document.getElementById("map"),
>   {size:new GSize(400,350)});
>
> There's a {size:} option as an additional parameter to GMap2(). It can
> all go on one line; I've split it here for the code-mangling
> interface. Note the similarity of those numbers with the styled size
> of the map div. This option tells the API the size of the map so it
> doesn't have to get the size from the browser, as it can be
> misreported where a div is hidden.
>
> I do heartily recommend the documentation.
>
> 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