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
| Comment | File | Size | Author |
|---|---|---|---|
| mapstraction_6.patch | 23.02 KB | Will White |
Comments
Comment #1
liorkesos commentedThanks 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
Comment #2
z.stolar commentedComment #3
tom_o_t commentedWill - I'll try to test this patch soon too - very excited to see this!
Comment #4
z.stolar commentedI released a first alpha version, based on supplied patch. please test.