Not with GDownloadUrl. It doesnt expose teh underlying xmlhttprequest object.

A jquery .getJSON based request has a request.abort() for example.
(thats what I use)


If you are not using GDownloadUrl (it was only a guess that you are),
you might like to provide more details of what exactly you are doing.
As per the posting guidelines, posting a link to your page is just
about the best way to provide the maximum amount of data.


On 5 March 2011 12:28, Brijraj <[email protected]> wrote:
> Hi all,
>
> Is there a way I can cancel/overwrite the command a command sent to
> Google Maps API.
>
> I am trying to optimize the following use case
> a) When the user drags the maps then based on the new bounds we issue
> a command to load new markers.
> b) Now before the markers are loaded the user drags the map again
> thereby changing the bounds and the markers to be loaded.
> c) Clearly I don't need any markers to be loaded from the first user
> drag, however the command is already issued.
>
> To optimize the behavior, I would like to cancel the first command. Is
> it possible?
>
> Thanks in advance.
>
> Regards,
> Brijraj
>
> --
> 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.
>
>

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

Reply via email to