Project

General

Profile

Feature #15830

zeemaps embed

Added by scott voth 3 months ago. Updated 3 months ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
WordPress (misc)
Target version:
Start date:
2022-04-06
Due date:
% Done:

0%

Estimated time:

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>

History

#1 Updated by Boone Gorges 3 months 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?

#2 Updated by scott voth 3 months 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

#3 Updated by Boone Gorges 3 months ago

Thanks, this is very helpful. I should be able to implement something for the upcoming release.

#4 Updated by Boone Gorges 3 months 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'.

#5 Updated by Boone Gorges 3 months ago

  • Status changed from Staged for Production Release to Resolved

Also available in: Atom PDF