In API v2 there was a map method "checkResize", that checked if the
container had changed. Is there an equivalent in v3? After changing
the container, the bounds of the map are not correct.
wctang
未讀,
2009年6月17日 晚上9:33:162009/6/17
回覆作者
登入以回覆作者
轉寄
登入以轉寄訊息
刪除
你的權限不足,無法在這個群組刪除訊息
複製連結
檢舉訊息
登入以檢舉訊息
顯示原始貼文
該群組的電子郵件地址為匿名,或你需要檢視成員電子郵件地址的權限才能查看原始貼文
收件者:Google Maps JavaScript API v3
I also have the same question. The Map options have "noResize"
property, default is not set, but it only resize the map bound when
"browser window" resize, not the map canvas div resize.
Do you mean when the size of the container changes, or a physical move
of the map to a different dom element? If you mean the former, the
bounds are being reported correctly for me when the container
dimensions change...