1,554
edits
(move attribution into js section →Mapping Example) |
|||
Line 1,088: | Line 1,088: | ||
The [[IDigBio API v1 Specification#Search|iDigBio Elasticsearch]] documentation 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. | ||
This example displays a map matching Scientific Name (dwc:scientificName) of "Abietinella abietina" and an Institution Code (dwc:institutionCode) of "DUKE". The search terms for this query are: | |||
<pre> | |||
scientificname" : "abietinella abietina" | |||
institutioncode": "duke" | |||
</pre> | |||
To customize the map search results, modify the <code>var terms = [ ... </code> section with the terms of your choice. | |||
<pre> | <pre> |
edits