On Dec 27, 1:23 pm, elchino <[email protected]> wrote:
> Hello,
> I am trying to place tow different maps on the same page. One to show
> location and one to create POIs.
>
> The problem I have is that the second map does not load completely and loads
> off centered.  I have looked in the forums and found out that you have to
> give the maps different ID when you use more than one map on the same page
> page.
>
> This problem is intermittent, I mean, it does not load correctly sometimes
> and some times it does.
>
> Here is the link to my site:
>
> http://184.106.155.252/index.php
>
> you will need to login, with the user:  test and password : a00b20

I don't do that.

>
> There is also a no login version of the map, which for some reason does load
> ok more times than the login version.
> Please take a look at:
>
> http://184.106.155.252/google.php
>
> You will see a jquery TAB widget the default tab is MAP which has the first
> map and the second map is found in POI tab

You need to trigger the resize event on the map when you unhide hidden
tabs (which causes the size reported for the div to change from zero
to the correct size):
http://code.google.com/intl/sv-SE/apis/maps/documentation/javascript/reference.html#Map
resize
None
Developers should trigger this event on the map when the div changes
size: google.maps.event.trigger(map, 'resize') .

  -- Larry

>
> Thank you very much in advance for your help.
>
> Regards,
>
> elchino

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to