PDF Embeddable Map?

4548
3
10-22-2014 06:51 AM
BrianO_keefe
Occasional Contributor III

Probably a stupid question...

BUT... I'm gonna ask it anyway.

 

As the average web-map is just HTML/Javascript it makes me wonder. Would it be possible to embed one of these web maps using the Javascript API from ESRI inside of a PDF? I know there are 'Office Tools' from ESRI that let you do similar... but, what about PDF?

 

I am thinking that these Storymaps would be MUCH more amazing inside of a PDF.

 

Just a quick (probably stupid) question.

Tags (3)
3 Replies
OwenGeo
Esri Notable Contributor

Hi Brian,

I did a quick web search and didn't find any information on ways to embed HTML/JS or other dynamic content inside a PDF, so I don't think this is possible.

If you know of a way to do this, please post details here and I can investigate further.

Owen

Owen Evans
Lead Product Engineer | StoryMaps
ChrisSergent
Regular Contributor III

I'm not sure you can either, but there is an interesting tool here: http://www.jqueryrain.com/2012/09/best-jquery-pdf-viewer-plugin-examples/  called JavaScript PDF Reader that you might want to check out. At the time it was written, it was an HTML5 experiment. And here is the github site: PDF.js

0 Kudos
OwenGeo
Esri Notable Contributor

If there is a 3rd party tool then I assume the way to do this would be to use a standard HTML iframe to embed the story map app like what you see below. When embedding on a web page you can use typical iframe parameters like width, height, frameborder, etc. to specify the size and appearance of the iframe, if the tool supports that.

<iframe src="http://my.server.com/myapp/index.html"></iframe>

I'd be interested to hear if anyone gets this to work, so please post back here if you do.

Owen

Owen Evans
Lead Product Engineer | StoryMaps