The coordinates are stored in the mySQL database, and then I use PHP scripts to pull this information from the database, and the points are displayed as markers in the GMaps window. What i want to know is how to take these points and draw them in a series to create a polygon rather than individual markers?
Points are stored based on their lat and lng values as a Float data type (10,6) Thanks On Sep 28, 12:25 am, "warden [Andrew Leach - Maps API Guru]" <[EMAIL PROTECTED]> wrote: > On Sep 27, 9:53 pm, Ranglo <[EMAIL PROTECTED]> wrote: > > > Does anyone know (or can recommend a link) how to display a polygon > > overlay based on a series of coordinates stored in an mySQL database? > > I expect someone knows. > > For example, I have a MySQL database which contains coordinates of > polygons. Using PHP, I retrieve these, create encoded polygons and > overlay them on a map. > > Which bit of the process are you finding problematic? I'm prepared to > help if I can, BUT I'm not going to write code for you; and there are > reasons why I'm not going to reveal my own source code. But that > doesn't mean that hints are not available. > > NB: In your question, you haven't said very much. I assume since > you're using MySQL that you're also using PHP, but you haven't said > anything about how your coordinates are stored, for example. It would > also help if you followed the posting guidelines and posted a link to > your current web page. While server-side scripts are difficult to > assist with [because by their nature only you have access to the > source code] it's possible to glean an insight into what a script is > doing by looking at the output. > > Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---