This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

I need help in integrating OpenStreetMap with codeignitor PHP

0

This is my first time going to work with maps, so need some help. I am looking for API and API document which can guide me and help me how to integrate OpenStreetMap with Codeignitor PHP and have to place to place marker in the map. majority of the locations are in Dubai. I want to make it simple.

asked 13 Feb '19, 10:23

osamaahmed32's gravatar image

osamaahmed32
21112
accept rate: 0%


One Answer:

2

The maps will typically be handled client-side, i.e. in JavaScript. This can be done e.g. in Leaflet or OpenLayers. Your PHP code should serve an HTML page with either one of those libs. Your PHP code will also be responsible for returning the data required by those libs to display the data points.

This answer is marked "community wiki".

answered 04 Dec '19, 04:47

escada's gravatar image

escada
19.0k16166302
accept rate: 21%

Source code available on GitHub .