1

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's gravatar image

aldm
31223
accept rate: 0%

edited 16 Apr '11, 09:28

petschge's gravatar image

petschge
8.0k207197


2 Answers:
2

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.

permanent link

answered 16 Apr '11, 09:31

petschge's gravatar image

petschge
8.0k207197
accept rate: 21%

@petschge can you give me the source of this link please

(22 Jan, 15:58) N0uman

i need a source file

(22 Jan, 16:06) N0uman
0

I'm not an expert, but is the example detailed in the wiki here similar to what you had in mind?

permanent link

answered 15 Apr '11, 23:18

EdLoach's gravatar image

EdLoach ♦
18.4k15148267
accept rate: 23%

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×30
×21

question asked: 15 Apr '11, 23:13

question was seen: 28,806 times

last updated: 22 Jan, 16:06

powered by OSQA