Jump to:
| Project: | Mapstraction |
| Version: | 6.x-1.0-alpha1 |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Hi Lior,
Here is the patch for Drupal 6 I promised. I've added support for Views 2. Here's how to get set up quickly:
- Create a new node type with two CCK number fields. One for latitude and one for longitude
- Create a few dummy nodes of this type
- Create a view and add fields for title, latitude, and longitude
- Select 'Mapstraction' as the style.
- Configure the style by select a API and specifiy the field usage for title, latitude, and longitude.
The view is able to get the lat/lon for each point from either a pair of CCK number fields or the fields that location module provides.
So far, there is support for Google, Yahoo, Microsoft, OpenLayers, FreeEarth, and CloudMade (extends OpenLayers). I plan to add the rest of the APIs once a Drupal 6 branch is set up.
Let me know if you have any questions or problems setting this up!
Cheers,
Will
| Attachment | Size |
|---|---|
| mapstraction_6.patch | 23.02 KB |
Comments
#1
Thanks Diggersf,
You are now officially onboard.
I'm in a terribly busy time time now but I'll test the code shortly.
Anybody that cares enough for this to make a substantial contribution (views 2 support yey!) should receive cvs rights in my book.
thanks again
Lior
#2
#3
Will - I'll try to test this patch soon too - very excited to see this!
#4
I released a first alpha version, based on supplied patch. please test.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.