Embed a scene

2964
3
Jump to solution
06-30-2015 10:40 AM
RickThomas
New Contributor III

Is it possible to share an arcgis online scene by embedding it in a web page available to everyone?

0 Kudos
1 Solution

Accepted Solutions
KellyHutchins
Esri Frequent Contributor

Yes you can use an iframe to embed a scene in a web site. The trick is to use the ui=min url parameter to minimize the UI. Details on this url param can be found in this blog post.

And here's an example of how it looks in an iframe:

<iframe width="500" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://jsapi.maps.arcgis.com/home/webscene/viewer.html?webscene=70834cb46ec94ddb802f4a00df7836bb&ui=..."></iframe>

View solution in original post

0 Kudos
3 Replies
KellyHutchins
Esri Frequent Contributor

Yes you can use an iframe to embed a scene in a web site. The trick is to use the ui=min url parameter to minimize the UI. Details on this url param can be found in this blog post.

And here's an example of how it looks in an iframe:

<iframe width="500" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://jsapi.maps.arcgis.com/home/webscene/viewer.html?webscene=70834cb46ec94ddb802f4a00df7836bb&ui=..."></iframe>

View solution in original post

0 Kudos
RickThomas
New Contributor III

Thank you, Kelly, for your very quick response. 

The solution works (http://www.intimeandplace.org/Yosemite/activities/trailsofyosemite.html - click on the map image to bring up the scene), but is not ideal. I've basically created a work around to not having the layers menu available by creating a slide entry into each layer.  I would also like users to be able to change base maps.  Is a change in the works?

Thanks again,

Rick Thomas

KellyHutchins
Esri Frequent Contributor

No definite dates but in future releases there should be more options for sharing scenes.

0 Kudos