First of all: No sample, No link. Please no comments on this :) Reason: I don't have a SQL Server 2008 reachable from my public webspace, but my sample requires one. But I could provide a video, if required. And sample code too...
What I have: 1) SQL Server 2008 spatial data table, containing ~9.000 MULTIPOLYGONS of german ZIP code areas at localhost 2) .net C# webservice, querying my database (using LINQ) on demand of JS client script, running at localhost 3) HTML in the browser with a GMap and the usual stuff to create the map and issue a AJAX request on click on the map, of course currently at localhost too. Procedure: I click on the map, the event handler fires, forms a JSON AJAX request with lat/lng, sents it up, the server looks up the database for the surrounding MULTIPOLYGON, renders a JSON response (according to bratliff's JSON polygon feed) of intersecting polygons, the polygons are rendered using GPolygon with a click handler, presenting city and ZIP in an info box. The polygons each have about 200-500 points. Results: There is a more than remarkable performance difference between IE7, FF3 and C1. Chrome is performing best, there is indeed no remarkable difference in browser behavior for the first polygon to polygon 200+. I stopped at 237 polys, containing 45049 points totally and it was running, as if there were no polys on the map. A bit slower in zooming and panning, but that's it. FF is something in between C1 and the absolute looser, which is IE7. IE7 begins already around ~30 to ~50 polys to hang and stutter. Zoom takes about 5 secs and more, panning is annoying. Sometimes polys "frazzle" or break out (surround the earth??), which can be corrected by pan or zoom... Please no IE bashing, but is there a legitimate reason for this behavior? Any hidden switch, any "Don't do this?" What are your experiences? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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 -~----------~----~----~----~------~----~------~--~---
