Issue 12926
Implement authoring and rendering of PROJECT LOCATION in news detail
12926
Reporter: mdoering
Assignee: cvizitiu
Type: Improvement
Summary: Implement authoring and rendering of PROJECT LOCATION in news detail
Description: Store list of lat/long coordinates for news/usage details and show location map in details map only if any coordinates exist
Priority: Minor
Resolution: WontFix
Status: Resolved
Created: 2013-03-05 15:39:00.708
Updated: 2014-01-20 13:04:18.86
Resolved: 2014-01-20 13:04:18.838
Author: trobertson@gbif.org
Created: 2013-03-07 10:29:00.529
Updated: 2013-03-07 10:29:00.529
For editing please see:
https://github.com/Leaflet/Leaflet.draw
If you download the ZIP and then look at examples/basic, it shows exactly how to do this. We would disable everything except for the marker, and then in the event handler you would capture the coordinates, and submit them with the form.
For the display, please see:
http://staging.gbif.org:8080/portal/occurrence/1234567
Please make the map visualization consistent with that, (except disable panning, zooming, and layer selector) so it appears as a single image, but I suggest keeping the styling consistent with that and not the example you have.
Please only use leaflet, as we use that elsewhere.