Hi, how can this map be used with php, to dinamically get data from mysql database and show map depend on data from database? asked 15 Apr '11, 23:13 aldm edited 16 Apr '11, 09:28 petschge |
2 Answers:
In several of my websites I implemented some level of integration of OpenStreetMap by dynamically generating javascript in PHP upon page requests (mostly setting call parameters of JS functions dependent on some calculation in PHP) and by dynamically generating kml file from PHP that are then used by OpenLayer vector layers. For an example see http://pgc.petschge.de/index.php and linked files. Source is available by appending .txt to the filename. answered 16 Apr '11, 09:31 petschge |
I'm not an expert, but is the example detailed in the wiki here similar to what you had in mind? answered 15 Apr '11, 23:18 EdLoach ♦ |
@petschge can you give me the source of this link please
i need a source file