Feature #15830
closedzeemaps embed
0%
Description
Amy Wolfe would like to embed a professor's zeemap. Below is the iframe. Can we set up a custom handler for this? (I checked if the EmbedPress plugin could do this, but it cannot.)
<iframe frameborder=0 style='width:100%;height:500px' src='//www.zeemaps.com/pub?group=4369080&legend=1&topbar=1'> </iframe>
Updated by Boone Gorges over 2 years ago
- Status changed from New to Reporter Feedback
- Target version set to 1.19.7
Yes, I can build this.
Where did you get the embed code from? I'm looking at http://www.zeemaps.com/pub?group=4369080&legend=1&topbar=1 and I don't see where the embed code is provided. As always, it's important that I see the source page so that I can create a shortcode/embed syntax using a text that is easy for the user to use, such as one that requires copy-and-paste of the original asset URL. Perhaps you can provide any other URLs associated with this ZeeMaps project?
Updated by scott voth over 2 years ago
Here is Amy's reply:
Hi Scott and Boone,
The iframe was created by following the following steps:
1. Went to https://www.zeemaps.com/map?group=4369080
2. Selected “Print or Share” from top menu of map
3. Selected “Publish in Website” from dropdown menu
4. Select “Include map legend”, “Status bar on top of map” and “Include Advanced Search” facets.
5. Leave Map Width to 100% and Map Height to 500 px.
Be aware the professor told me they will, in the future, be creating another map, in addition to this map, for the site.
Amy
Updated by Boone Gorges over 2 years ago
Thanks, this is very helpful. I should be able to implement something for the upcoming release.
Updated by Boone Gorges over 2 years ago
- Status changed from Reporter Feedback to Staged for Production Release
Added in https://github.com/cuny-academic-commons/cac/commit/42b9336f2e929dc2448f692bfa7655f94914c71c. It will be part of today's release. Use:
- As a shortcode: [zeemaps url="https://www.zeemaps.com/map?group=4369080"]
- The URL on its own line of the editor
Note that it expects the URL from the address bar, the one that contains 'map'.
Updated by Boone Gorges over 2 years ago
- Status changed from Staged for Production Release to Resolved