On Dec 16, 5:50 pm, marcelo <[email protected]> wrote: > On Dec 16, 6:41 pm, bratliff <[email protected]> wrote: > > > For a simple grid, click analysis could be done in the browser by > > truncating the Lat/Lon coordinates to the same precision. For complex > > non-rectangular polys, an additional click structure is required. > > If you have 70,000 rectangles, with 6 decimal precision, and you > transmit only 2 points per rectangle, like southWest and northEast, > plus separators, you'd have to send about 3.1 MB of data to the client > to do the click analisys there. > I think it is definetly a server side job. > > -- > Marcelo -http://maps.forum.nu > --
The rectangles are evenly spaced in Lat/Lon space but not in pixel space. If I know the Lat/Lon coordinates of the click, I know which rectangle in the grid contains it without assistance from the server. I do agree 70,000 rectangles is completely absurd. Could use approximately 265 horizontal lines by approximately 265 vertical lines instead. The actual numbers will depend on screen dimensions. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
