My job pains me sometimes ...

"Issue: Maps aren't working properly."

Can anyone guess why?

  • 6
    Long and lat are reversed, for one. It should be lat and long. Learned that the hard way in plotly, which you should definitely try.
  • 3
  • 1
    @chadd17 is right, whatsmore why typecast the values from PHP to JS two times for the same value?

    you already got those values in JS a line above...
  • 1
    @bioDan indeed... my pain is vast with this one
Add Comment