How do I return a lat,lng response from SQL DB to reference an embedded Mapbox map in WP

Question

I have a MYSQL database with (amongst other things) city and lat / log that I want to return as follows:

  • Use WP Page Title to call the "City"
  • Send lat / lng to include in the Mapbox js code

Sorry for being a newbie…

Cheers

0
BretMadden 2 months 0 Answers 14 views 0

Leave an answer