On Oct 20, 10:16 am, Rowan <[email protected]> wrote:
> Thanks Andrew! I'll have a look at trying the Javascript code then, or
> do you think that the sensor attribute being true might be causing me
> problems?
sensor is definitely wrong, so there's no harm in putting it right.
But I doubt that's the cause; I suspect the cause is firing two
practically-simultaneous requests for a static map.
You may be able to help the situation by chaining the image loading
together, something like
<img id="Map1" onload="document.getElementById('Map2').src='http...'"
src="...">
<img id="Map2" height=... width=... src="">
That code sets the src attribute of the second image when the first
has loaded, which should separate the requests by the time it takes to
get the first image. I haven't tested it though and can't guarantee
it. There have been problems noted when the image comes from the cache
(if the first map is already cached, the onload event may not fire, so
the second is never loaded).
--
You received this message because you are subscribed to the Google Groups
"Google Maps API V2" 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.