IDigBio API v1 Examples: Difference between revisions

m
(add code sample →‎Mapping Example)
Line 1,084: Line 1,084:
The following HTML and javascript code is suitable for copying and pasting into a web site in order to display a small specimen map containing iDigBio data points.
The following HTML and javascript code is suitable for copying and pasting into a web site in order to display a small specimen map containing iDigBio data points.


The [[IDigBio API v1 Specification#Search|iDigBio Elasticsearch]] information should be considered required reading before attempting to integrate this code into one's site.
The [[IDigBio API v1 Specification#Search|iDigBio Elasticsearch]] documentation should be considered required reading before attempting to integrate this code into one's site.


To customize the map search results, modify the <code>var terms = [ ... </code> section.
To customize the map search results, modify the <code>var terms = [ ... </code> section.
1,554

edits