We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using GMaps successfully and have been for a while.
My app is deployed on Heroku and I've been using phantomJS and rasterize to create png files based on content generated in the app.
I've now combined these to create images of the maps page.
It works in dev, but not on heroku.
It runs this code
system( "vendor/phantomjs/bin/phantomjs --output-encoding=utf8 bin/rasterize.js 'https://www.dmy.fyi/smap/kelowna/golf/1/?mode=make' tmp/images/imap_1_120171213-4-15jkab0.png 1080*1080px" )
And reports ...
ReferenceError: Can't find variable: google undefined:1 in eval code :0 in eval ReferenceError: Can't find variable: google https://www.dmy.fyi/assets/gmaps/google/primitives.self-5b8a3a670839d76c06f9877827daa0d739b27f8d6ebd346d7fc6006819755e65.js?body=1:5 in Primitives https://www.dmy.fyi/assets/gmaps/objects/handler.self-2f220cab5c91a054a6ee7f5b4c1eaab6edd160062ee3709c81714c18a6fbefa3.js?body=1:122 in setPrimitives https://www.dmy.fyi/assets/gmaps/objects/handler.self-2f220cab5c91a054a6ee7f5b4c1eaab6edd160062ee3709c81714c18a6fbefa3.js?body=1:8 in Handler https://www.dmy.fyi/assets/gmaps/base.self-8dd1d1a22a7ff3bf4faa70885ea5f452367e7249102c52508c66d85ca396ee8b.js?body=1:9 in build
Not sure where to go now. It works in development, so it's setup correctly.
I can run this in dev on the heroku URL and it works.
z= system( "/usr/local/bin/phantomjs --output-encoding=utf8 bin/rasterize.js 'https://www.dmy.fyi/smap/kelowna/golf/1/?mode=make#' tmp/images/imap_1_120171213-4-w3q9rb.png 1080*1080px" )
Any suggestions? What's missing on Heroku?
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
I'm using GMaps successfully and have been for a while.
My app is deployed on Heroku and I've been using phantomJS and rasterize to create png files based on content generated in the app.
I've now combined these to create images of the maps page.
It works in dev, but not on heroku.
It runs this code
system( "vendor/phantomjs/bin/phantomjs --output-encoding=utf8 bin/rasterize.js 'https://www.dmy.fyi/smap/kelowna/golf/1/?mode=make' tmp/images/imap_1_120171213-4-15jkab0.png 1080*1080px" )
And reports ...
ReferenceError: Can't find variable: google
undefined:1 in eval code
:0 in eval
ReferenceError: Can't find variable: google
https://www.dmy.fyi/assets/gmaps/google/primitives.self-5b8a3a670839d76c06f9877827daa0d739b27f8d6ebd346d7fc6006819755e65.js?body=1:5 in Primitives
https://www.dmy.fyi/assets/gmaps/objects/handler.self-2f220cab5c91a054a6ee7f5b4c1eaab6edd160062ee3709c81714c18a6fbefa3.js?body=1:122 in setPrimitives
https://www.dmy.fyi/assets/gmaps/objects/handler.self-2f220cab5c91a054a6ee7f5b4c1eaab6edd160062ee3709c81714c18a6fbefa3.js?body=1:8 in Handler
https://www.dmy.fyi/assets/gmaps/base.self-8dd1d1a22a7ff3bf4faa70885ea5f452367e7249102c52508c66d85ca396ee8b.js?body=1:9 in build
Not sure where to go now. It works in development, so it's setup correctly.
I can run this in dev on the heroku URL and it works.
z= system( "/usr/local/bin/phantomjs --output-encoding=utf8 bin/rasterize.js 'https://www.dmy.fyi/smap/kelowna/golf/1/?mode=make#' tmp/images/imap_1_120171213-4-w3q9rb.png 1080*1080px" )
Any suggestions? What's missing on Heroku?
The text was updated successfully, but these errors were encountered: