OK, I tried doing the same thing using XML and GDownloadUrl to call my aspx page. I can create the polylines and add them to the map, but Chrome is crashing left and right. Any ideas?
On Feb 18, 5:12 pm, Derek <[email protected]> wrote: > Hello all, > > I am using a combination of ASP.NET and jQuery to pull encoded > polylines from a database. When my page loads, I make a call from > javascript to an aspx page using the jQuery $.getJSON() method. The > aspx page returns the JSON data (points, levels, line weight and > color) and I am able to create GPolylines from it and add them to the > map using addOverlay. > > Observations: > > -Firefox 3 seems to handle this just fine. > -IE 7 is a little slow (as usual) but works. > -Safari PC only loads one polyline. > -Chrome crashes spontaneously while moving or zooming the map. > > I've tried creating GPolylines from the same exact data and loading > them manually from javascript. It works beautify and none of problems > above occur. I am considering loading all my polylines this way, but I > would prefer the data driven method if at all possible. > > The map is temporarily located at:http://dev.watershed.ucdavis.edu/ > You can view the JSON data at:http://dev.watershed.ucdavis.edu/info.aspx?id=2 > > Has anyone else had luck loading overlays dynamically? Any help would > be much appreciated! > > -Derek --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
