Mapping<br />Drupal and OpenLayers<br />
Why map with Drupal?<br />Because you can use Drupal stuff for mapping<br />Views, CCK, etc.<br />Map social<br />http://o...
How to map with Drupal<br />GMap & Location<br />Been around since 4.7<br />Views integration<br />Feature rich<br />Huge ...
What is OpenLayers?<br />Open source JavaScript library<br />An API to display map data<br />Cross browser<br />Except old...
Sites Using OpenLayers<br />http://outsideindc.com/stumblesafely/<br />???<br />
Modules to Install<br />Required<br />OpenLayers<br />CTools<br /><ul><li>Very Useful
Views
CCK
Features
openlayerscck
openlayersgeocoder
openlayersui
openlayersviews
mapbox</li></li></ul><li>Presets Configuration<br />Layers<br />Styles<br />Behaviors<br />Settings<br />Zoom, center, wid...
Layers<br />Raster & vector data<br />Base Layers<br />Background for data<br />Google Maps, Open Street Map, custom<br />...
Upcoming SlideShare
Loading in...5
×

Mapping with Drupal and OpenLayers

6,554

Published on

From Drupal Camp NYC 8

1 Comment
3 Likes
Statistics
Notes
  • Nice overview - I am still trying to understand the drupal side of it (fields, views etc) - I will try to draw a picture!
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
6,554
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
91
Comments
1
Likes
3
Embeds 0
No embeds

No notes for slide

Mapping with Drupal and OpenLayers

  1. 1. Mapping<br />Drupal and OpenLayers<br />
  2. 2. Why map with Drupal?<br />Because you can use Drupal stuff for mapping<br />Views, CCK, etc.<br />Map social<br />http://opengreenmap.org/greenmap<br />http://nycwhisky.com<br />But…<br />MySQL is not a great spatial server<br />
  3. 3. How to map with Drupal<br />GMap & Location<br />Been around since 4.7<br />Views integration<br />Feature rich<br />Huge module, opaque javascript<br />Geo<br />postgres, postgis integration<br />Views integration<br />Allie Micka is looking for clients to work on geo<br />
  4. 4. What is OpenLayers?<br />Open source JavaScript library<br />An API to display map data<br />Cross browser<br />Except older Safari and Konquerer<br />No server-side dependencies<br />
  5. 5. Sites Using OpenLayers<br />http://outsideindc.com/stumblesafely/<br />???<br />
  6. 6. Modules to Install<br />Required<br />OpenLayers<br />CTools<br /><ul><li>Very Useful
  7. 7. Views
  8. 8. CCK
  9. 9. Features
  10. 10. openlayerscck
  11. 11. openlayersgeocoder
  12. 12. openlayersui
  13. 13. openlayersviews
  14. 14. mapbox</li></li></ul><li>Presets Configuration<br />Layers<br />Styles<br />Behaviors<br />Settings<br />Zoom, center, width, height, etc.<br />Everything except putting the map on the page<br />
  15. 15. Layers<br />Raster & vector data<br />Base Layers<br />Background for data<br />Google Maps, Open Street Map, custom<br />Overlay Layers<br />Views, KML, other?<br />
  16. 16. Styles<br />javascriptStyleMap objects<br />icon, fill color, border, and radius of points or polygons<br />Only for overlay layers<br />Associate with layers in presets<br />Some nice defaults in MapBox<br />
  17. 17. Behaviors<br />How users interact with the map<br />Enabled on map presets to control <br />Includes<br />Zoom & pan<br />Layer switching<br />Clustering<br />etc.<br />
  18. 18. Source of js file<br />option to build your own version of js for speed http://trac.openlayers.org/wiki/Profiles<br />
  19. 19. Other Configuration<br />API keys<br />Permissions<br />
  20. 20. Setting up content types<br />Lat & Lon<br />OpenLayers Geocoder<br />
  21. 21. Setting up Views<br />Data view<br />Loads the appropriate nodes<br />Fields containing title, popup, location<br />Remember the style plugin!<br />Use this to build a new map preset<br />Page view<br />OpenLayers Map style<br />
  22. 22. Features <br />Everything can be exported to features<br />Code control<br />Sharable<br />
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×