Take data (points) from MySQL to Leaflet Map using PHP and Ajax

المشرف العام

Administrator
طاقم الإدارة
I have records with lat and lngs in a MySQL database and I want to add them to a Leaflet map as markers. I have tried a couple of methods but none seem to work. When the webpage opens the map doesn't show up and I get "ReferenceError: Incidents is not defined" in the console.

Here is my php file (get.php)
 
أعلى