Would be good to have VIEW RECORDS - all, and in v...
13724
Reporter: thirsch
Assignee: bko
Type: NewFeature
Summary: Would be good to have VIEW RECORDS - all, and in v...
Priority: Major
Resolution: Done
Status: Closed
Created: 2013-08-30 13:07:38.502
Updated: 2015-03-09 11:13:37.863
Resolved: 2015-03-09 11:13:37.837
Description: Would be good to have VIEW RECORDS - all, and in viewable area, on these country page maps as on e.g. the species maps. People may well use these maps to zoom in to their local area to find out what data are available - already suggested earlier to Markus via email.
*Reporter*: Tim Hirsch
*E-mail*: [mailto:thirsch]]]>
Author: thirsch@gbif.org
Comment: Sorry the 'all records' is already covered in a link on the country page maps, but the 'in viewable area' is still going to be a useful function.
Created: 2013-08-30 13:10:35.211
Updated: 2013-08-30 13:10:35.211
Author: ahahn@gbif.org
Created: 2013-09-06 16:37:14.205
Updated: 2013-09-06 16:37:14.205
We had discussed that during the design phase of the country pages, and at that time decided against it. The reason was that we thought it would be confusing to leave the country context and use the map as what amounts to a world-wide data browser - nothing enforces that you can only zoom in onto the country.
If we want to change that, should we rather consider such a link to go to a map-search in the occurrences search area (possibly with the pre-set viewable area you came from), which then clearly takes you out of the country focus if you decide to browse around more freely?
Author: ahahn@gbif.org
Comment: Revert: such functionality will be included with the new map version.
Created: 2013-09-06 17:12:23.789
Updated: 2013-09-06 17:12:23.789
Author: omeyn@gbif.org
Comment: [~thirsch@gbif.org] and [~ahahn@gbif.org] please check latest on portaldev and update this issue
Created: 2013-09-26 17:26:49.006
Updated: 2013-09-26 17:26:49.006
Author: ahahn@gbif.org
Comment: Still an outstanding issue, needs to stay open.
Created: 2013-09-26 17:42:27.074
Updated: 2013-09-26 17:42:27.074
Author: trobertson@gbif.org
Created: 2015-03-04 12:27:47.175
Updated: 2015-03-04 12:27:47.175
Country pages now in Drupal, so assigning to Burke. The iframe broadcasts a search URL which can be subscribed from the container page using JS like this:
{code}
?" + searchUrl);
});
{code}
I'd recommend just adding a link beside each map that says "Show records viewable area" and then add the code above to set it's target.
This is documented in:
https://github.com/gbif/tile-server/blob/master/src/main/webapp/map/map-events.js
That JS you can reference using http://api.gbif.org/v1/map/map-events.js
Author: bko@gbif.org
Created: 2015-03-09 11:13:37.86
Updated: 2015-03-09 11:13:37.86
Implemented on UAT:
http://www.gbif-uat.org/country/ES/about
http://www.gbif-uat.org/country/ES/publishing
http://www.gbif-uat.org/country/ES/summary
[~trobertson@gbif.org] it's a very useful JS widget!