On 21 February 2011 16:29, John Dieji <[email protected]> wrote: > * > http://rumo.biologie.hu-berlin.de/PPODB/maps/fruit_s.html?plant_name=red+currant > is not working 12309 with markers
Your server is struggling to serve an enormous amount of data. I would recommend that you ensure your coordinates are limited to two decimal places. I'd also recommend that you halve the number of arrays: [[[54.770000000000003, 9.4299999999999997]], [[54.770000000000003, 9.7200000000000006]], ... [ [54.77,9.43], [54.77,9.72], ... You don't need each coordinate pair to be an array of an array. The second example has coors[i][0],coors[i][1]. Not only does it dramatically reduce the amount of data you're transmitting, but it helps the browser keep track of fewer arrays and less data. Currently the map fails because one element of the array cannot be found at coors[426]. I suspect that's got something to do with a missing [, but I'm not searching through that amount of data! -- 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.
