Hi,
I am trying to do exactly the same thing L Have you had any luck with this yet? I am saving the data as WKT ie: Id = "1"; Name = "test"; Description = "this is a test"; Coor = " POLYGON((27.0754999939 -25.63199999445, 26.9090999926 -26.33173333325, 27.1437666611 -26.54506666825, 27.5661666644 -26.64320000235, 27.600299998 -26.27626666615, 28.0141666679 -26.36586666685, 27.9800333343 -26.07573333125, 27.7197666656 -25.73439999525, 28.0995000019 -25.52959999365, 27.7496333325 -25.36746665905, 27.1522999945 -25.32906665875, 26.8365666587 -25.24799999145, 26.960299993 -25.63626666115, 26.6232333237 -25.62773332775, 26.6445666572 -25.84533332945, 26.7213666578 -26.02453333085, 27.0754999939 -25.63199999445))"; I am trying to display this on a map and on click display a small popup with the name of the polygon Please point us in the right direction Thanks K- From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of digitalmed...@gmail.com Sent: 02 December 2009 06:03 PM To: users@openlayers.org Subject: [OpenLayers-Users] dynamic map coordinated and popups I have maps set up with polygons over a few specific areas. when a user clicks on an area the pop-up displays a small amount of information about that area. This does work, but I would like to display a different map with different information based on information from a mysql database. I can't seem to figure out how to add multiple polygons to the map based on information in my mysql database and show the popup information. I am trying to store this information in a mysql database (coordinates for the polygons, and popup information). how can I get the data from my database into the map? Any Ideas?
_______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users