Your SlideShare is downloading. ×
0
Mapping with Drupal and OpenLayers
Mapping with Drupal and OpenLayers
Mapping with Drupal and OpenLayers
Mapping with Drupal and OpenLayers
Mapping with Drupal and OpenLayers
Mapping with Drupal and OpenLayers
Mapping with Drupal and OpenLayers
Mapping with Drupal and OpenLayers
Mapping with Drupal and OpenLayers
Mapping with Drupal and OpenLayers
Mapping with Drupal and OpenLayers
Mapping with Drupal and OpenLayers
Mapping with Drupal and OpenLayers
Mapping with Drupal and OpenLayers
Mapping with Drupal and OpenLayers
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Mapping with Drupal and OpenLayers

6,519

Published on

From Drupal Camp NYC 8

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,519
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
91
Comments
1
Likes
3
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Mapping<br />Drupal and OpenLayers<br />
  • 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. How to map with Drupal<br />GMap &amp; 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. 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. Sites Using OpenLayers<br />http://outsideindc.com/stumblesafely/<br />???<br />
  • 6. Modules to Install<br />Required<br />OpenLayers<br />CTools<br /><ul><li>Very Useful
  • 7. Views
  • 8. CCK
  • 9. Features
  • 10. openlayerscck
  • 11. openlayersgeocoder
  • 12. openlayersui
  • 13. openlayersviews
  • 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. Layers<br />Raster &amp; 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. 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. Behaviors<br />How users interact with the map<br />Enabled on map presets to control <br />Includes<br />Zoom &amp; pan<br />Layer switching<br />Clustering<br />etc.<br />
  • 18. Source of js file<br />option to build your own version of js for speed http://trac.openlayers.org/wiki/Profiles<br />
  • 19. Other Configuration<br />API keys<br />Permissions<br />
  • 20. Setting up content types<br />Lat &amp; Lon<br />OpenLayers Geocoder<br />
  • 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. Features <br />Everything can be exported to features<br />Code control<br />Sharable<br />

×