jyobb / islandora_map_browse

Map browser for islandora
3 stars 5 forks source link

Islandora Map Browse

A map browser leveraging the leaflet javascript library and MODS metadata to generate maps based on search results for Islandora.

Dependencies

Modules

Libraries

Leaflet Configuration

Leaflet uses map quest maps that now require a key. A free key that allows 15,000 hits a month can be downloaded by signing up here: https://developer.mapquest.com/plans There is a field in the configuration to add this key.

Solr Configuration

This module has been tested with solr version 3.6.2 and fedora 3.5.

Configuration

To enable Islandora Map Browse you will need to configure gsearch to index mods so a lat lon location fields is available. If you are using the standard islandora VM, then you should have a Solr field that is and should contain the latitutde,longitude coordinate data.

Before Browse Map will work you need to generate a static map file. This is done to avoid having a new solr query run everytime someone browses the collection as this was found to be slow for large collections.

Configuring Islandora Map Browse

There are several configuration settings you should review and the module configuration is available on this drupal path - admin/islandora/mapbrowse.

Configuration Options

Configuring Islandora Solr Search

After enabling the Islandora Map Browse module two new secondary display profiles are made available in the Solr Index configuration.

Selecting one of these secondary displays adds a folded map icon to the search results. Selecting the icon launches the map display.

Once these are set up you should get a map. If not check out the solr document that is returned as ensure that the field names are correct.

Configuration of Colorbox