How to set map size in Google Maps API v3?

I create a map in a div with 'display: none'. With google maps v2 I could set the 'size' parameter to the size of the div once shown, but this 'size' option disappeared in v3 of the API.

How can I do that?


Change the size of the div using any method you want, and then call google.maps.event.trigger(map, 'resize'). A related question is here.

Need Your Help

Authentication for REST web services

web-services rest authentication oauth openid

I'm starting to design a REST web service, and am unclear on the best approach to authentication. The service will allow individual users to access/manage their own data, so some type of user

ZeroMQ Message Size Length Limit?

zeromq pyzmq

Suppose that several machines are interacting together using python's zeroMQ client.