Hi Anil,
Now we can narrow it down to the querying process that takes place in InMemoryMarkerOverlay.
So we’d like you to try the sample attached with this post. In this sample, we add 500 points into the InMemoryMarkerOverlay; when the button in the bottom of the window is clicked, we query all of the markers for 10 times and use a message box to show the result.
This is the result we got from our test machine:
Query 500 markers Cost 975 milliseconds
Query 500 markers Cost 977 milliseconds
Query 500 markers Cost 979 milliseconds
Query 500 markers Cost 985 milliseconds
Query 500 markers Cost 985 milliseconds
Query 500 markers Cost 986 milliseconds
Query 500 markers Cost 982 milliseconds
Query 500 markers Cost 975 milliseconds
Query 500 markers Cost 970 milliseconds
Query 500 markers Cost 970 milliseconds
We hope you can run the sample without modification(like adding styles or column values, because the goal of this sample is to test the query time only) and let us know how long it takes.
Thanks for your patience.
Regards,
Tsui
post8113_TestQuery.zip (22 KB)