On 26 Mai, 07:48, "[email protected]" <[email protected]> wrote:

>1. use the optional "size" parameter in the options field of the GMap2
>constructor.

Following your excellent feedback I got it to work with

function initialize() {
  if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map_canvas"),{ size: new
GSize(225,298) } );
        var point = new GLatLng(48.158013,11.45732);
        map.setCenter(point, 15);
        map.addOverlay(new GMarker(point));
        map.setUIToDefault();
  }
}

Thank you.

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