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 8 months 2020-11-30T23:10:28-05:00 0 Answers 14 views 0

Leave an answer

Browse
Browse