/wp-leaflet-idigbio-geojson-data

This Wordpress plugin provides data from iDigBio to maps produced by the leaflet-map plugin.

Primary LanguagePHPMIT LicenseMIT

WP Leaflet iDigBio geojson data

This Wordpress plugin provides data from iDigBio to maps produced by the leaflet-map plugin.

Installation and use

Install the leaflet-map plugin and the wp-leaflet-idigbio-geojson-data plugin. To install this plugin get the .zip file from the Releases tab and unzip it in the wp-content/plugins folder of your wordpress install or go to the plugins manager and upload it there.

Include both shortcodes on the page. Any attributes specified in the shortcode will be passed to the iDigBio Search API as a Record Query Field.

Example use

[leaflet-map lat=39 lng=-84.5 zoom=7 width=575 height=250 align="right"]
[idigbio_geojson_data genus="Flexicalymene"]
<span style="font-style: italic;">Map point data provided by <a href="https://www.idigbio.org/">iDigBio.</a></span>

Search API details

This queries the iDigBio search api for data points. Any attributes specified in the shortcode will be passed as a Record query Field. Only string/number parameter types are currently supported.