You are here

README.txt in AngularJS 7

Introduction
------------

This is a slightly more complicated example of using AngularJS to show Drupal data. It contains
a Feature that has a Feed that pulls earthquake data from the USGS and displays it using 
Leaflet. It also exposes facets to filter the data using Search API and Facet API. 

Requirements
------------
 * Features [1]
 * Geofield [2]
 * Feeds [3]
 * RESTWS Search API Integration [4]
 * Twitter Bootstrap [5]
 * Leaflet [6]
 * Leaflet Markercluster Plugin [7]
 * Views GeoJSON [8]
 * Date [9]
 * Feeds JSONPath Parser [10]
 
Installation
------------
 1. Download the latest recommended release of various required modules
 2. Download and place Twitter Bootstrap, Leaflet, Leaflet Markercluster plugin in sites/all/libraries
 3. Log in as administrator and enable the module
 4. Configure Feed Importer as follows:

 
Feed Importer configuration
------------
URL: http://earthquake.usgs.gov/earthquakes/feed/v0.1/summary/2.5_month.geojson
Context: $.features.*
guid: properties.code
title: properties.place
field_magnitude: properties.mag
field_felt: properties.felt
field_cdi: properties.cdi
field_epicenter_distance: properties.dmin
field_location:lon: geometry.coordinates[0][0]
field_locatino:lat: geometry.coordinates[1]


Usage
------------
 1. Run the Feed Importer 
 2. Navigate to /map
 
References
------------
 [1] Features module: http://drupal.org/project/features
 [2] Geofiled module: http://drupal.org/project/geofield
 [3] Feeds module: http://drupal.org/project/feeds
 [4] RESTWS Search API Integration module: http://drupal.org/project/restws_search_apio
 [5] Twitter Bootstrap: http://twitter.github.io/bootstrap/
 [6] Leaflet: http://leafletjs.com/
 [7] Leaflet Markercluster plugin: https://github.com/Leaflet/Leaflet.markercluster
 [8] Views GeoJSON module: http://drupal.org/project/views_geojson
 [9] Date module: http://drupal.org/project/date
 [10] Feeds JSONPath Parser module: http://drupal.org/project/feeds_jsonpath_parser

File

modules/angularjs_map/README.txt
View source
  1. Introduction
  2. ------------
  3. This is a slightly more complicated example of using AngularJS to show Drupal data. It contains
  4. a Feature that has a Feed that pulls earthquake data from the USGS and displays it using
  5. Leaflet. It also exposes facets to filter the data using Search API and Facet API.
  6. Requirements
  7. ------------
  8. * Features [1]
  9. * Geofield [2]
  10. * Feeds [3]
  11. * RESTWS Search API Integration [4]
  12. * Twitter Bootstrap [5]
  13. * Leaflet [6]
  14. * Leaflet Markercluster Plugin [7]
  15. * Views GeoJSON [8]
  16. * Date [9]
  17. * Feeds JSONPath Parser [10]
  18. Installation
  19. ------------
  20. 1. Download the latest recommended release of various required modules
  21. 2. Download and place Twitter Bootstrap, Leaflet, Leaflet Markercluster plugin in sites/all/libraries
  22. 3. Log in as administrator and enable the module
  23. 4. Configure Feed Importer as follows:
  24. Feed Importer configuration
  25. ------------
  26. URL: http://earthquake.usgs.gov/earthquakes/feed/v0.1/summary/2.5_month.geojson
  27. Context: $.features.*
  28. guid: properties.code
  29. title: properties.place
  30. field_magnitude: properties.mag
  31. field_felt: properties.felt
  32. field_cdi: properties.cdi
  33. field_epicenter_distance: properties.dmin
  34. field_location:lon: geometry.coordinates[0][0]
  35. field_locatino:lat: geometry.coordinates[1]
  36. Usage
  37. ------------
  38. 1. Run the Feed Importer
  39. 2. Navigate to /map
  40. References
  41. ------------
  42. [1] Features module: http://drupal.org/project/features
  43. [2] Geofiled module: http://drupal.org/project/geofield
  44. [3] Feeds module: http://drupal.org/project/feeds
  45. [4] RESTWS Search API Integration module: http://drupal.org/project/restws_search_apio
  46. [5] Twitter Bootstrap: http://twitter.github.io/bootstrap/
  47. [6] Leaflet: http://leafletjs.com/
  48. [7] Leaflet Markercluster plugin: https://github.com/Leaflet/Leaflet.markercluster
  49. [8] Views GeoJSON module: http://drupal.org/project/views_geojson
  50. [9] Date module: http://drupal.org/project/date
  51. [10] Feeds JSONPath Parser module: http://drupal.org/project/feeds_jsonpath_parser