1,554
edits
(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]] | 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. |
edits