Anything you plot on a map will depend on the order you decide to plot it, normally you pull data from a database, so depending on how you store this data will also depend on how you ask for the data to be plotted back on the map.
If you can provide more details, it would help people understand your request. But normally you would 'pull' data required using a database query, this can then be ordered via any means you like, and depends on how you store your data, and what else is stored with it to identify it. as an example: If you stored several polygons in a table, calling 1 'england' and another 'wales' which outline england and wales, it might look like this. Data: ID | NAME | POINTS 1 | england | [all the lat,lngs making up this polygon] 2 | wales | [all the lat,lngs making up wales] select * from table_name ORDER BY ID ASC thus it would plot england first, then wales. .... http://groups.google.com/group/gtrack On Jan 21, 4:47 pm, "thomas.volk" <[email protected]> wrote: > Hi, > > is there a way to control the order in witch GPolygons will be painted > on the map ? > i want to ensure the last polygone i add via addOverlay will be > painted at last. > > regards > > Thomas Volk --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
