Closed hectorzaragoza closed 2 years ago
Still working on this? if so, update on what's been tried, if not add solution and close it
I was fixing the earlier issue. I am going to tackle this now. Goro gave me some suggestions to try.
Goro to the rescue!
This is where the issue is:
I am rendering my map on DOMContentLoaded inside of JS script tags in an ejs file. So, I can't access the database data that I'm passing from the controller to the view in the JS script.
This the code that lives inside my ejs view:
I have tried: 1) using the data I pass to the view from the controller inside the JS script but nothing happens. 2) The data shows up if I use ejs syntax outside of the JS script. 3) I tried moving the map rendering into the controller but the client-side functionality (document, navigator) don't work.