I've spent a pretty decent amount of time messing around with this, trying to replicate the results by following the screencast, to no avail, and I was wondering if someone could make some suggestions as to things I can check or common pitfalls so that I can get this going. Here's what I have
- A 6.12 install of Drupal with nothing but Views, CCK, Mapstraction. All modules the most recent version, have tried both the alpha and dev versions of Mapstraction.
- A content type with lat and long decimal fields, with one piece of data entered at 47.66, -122.28.
- A view setup exactly as described in the screencast. It is successfully retrieving my data, as if i change the display style, I get a listing of my one node. The map is set with a centerpoint exactly the same as the one node's data.
I have tried it with both OpenLayers and Google Maps. OpenLayers does retrieve the JS but does not display a map. Google Maps will retrieve data but show no map. I know it is contacting Google successfully, because if I enter an incorrect API key it complains.
Where should I go from here? I'd be happy to write up any information into a handbook page. Let me know if theres any more info I can provide.
Thanks
Comments
Comment #1
aborruso commentedHi heyrocker,
only to say I have the same problem, and I'm not able to solve it :-(
Best regards,
Andrea
Comment #2
breos commentedSorry, but I'm having the same problem.
Latest version of CCK and Views on drupal 6.12
Followed the video with no results. No map and if I change the style to grid I can see a list with data (title, lat and long)
Thanks
Fixed and sorry for open this.
In the module directory there is a readme.txt:
Next time I will read the readme before post. A lot of thanks to people who are mantaining this module
Comment #3
gddSo the one thing the video doesn't show, but which is in the README.txt, is that you have to download the following file and place it in your modules folder
http://mapstraction.com/svn/source/compressed/mapstraction.js
Once I did that everything worked beautifully. This is what I get for not reading directions!
Thanks to breos for dropping me a line about this solution. Closing this issue.
Comment #4
aborruso commentedThank you,
I feel myself stupid :-(
Best regards,
a
Comment #6
benstallings commentedThank you, heyrocker!
It would be really nice if the installation instructions were on the module page, instead of just in the README file! I beat my head against this for over an hour.
Thanks for the great module... I'm glad to finally have it working!
Comment #7
iancawthorne commentedI have the same problem but with the 2.x-dev. The instructions for the include are different here :
2. Download Mapstraction from http://www.mapstraction.com into a folder in your module
directory called mapstraction. The resulting library path will be
[modules directory]/mapstraction/mapstraction
I am unsure what to download here as there seem to be two versions to download - one has just 3 files, the other has many more, although I have tried both with no success.
Comment #8
rachelf commentedHi - did you ever get this to work?
I'm just totally lost (and probably totally stupid) - but I really don't follow the instruction to: Download Mapstraction from http://www.mapstraction.com into a folder
What am I supposed to do?
I visited http://code.google.com/p/mapstraction/source/checkout
and I was greeted with this:
Command-line access
Use this command to anonymously check out the latest project source code:
# Non-members may check out a read-only working copy anonymously over HTTP.
svn checkout http://mapstraction.googlecode.com/svn/trunk/ mapstraction-read-only
Now I know this is entirely down to my ignorance, but please someone take pity on me and tell me what I actually do next? I tried typing:
http://mapstraction.googlecode.com/svn/trunk/
into my web browser, which took me to a big directory structure.
Are these the files that I am supposed to download?
Am I supposed to put all these files and their subfolders and files into my modules/mapstraction/mapstraction folder?
Many thanks to anyone who can help me.
Comment #9
rachelf commentedJust to let you know, someone at stackoverflow.com helped me out.
I needed a Subversion Client. I downloaded on at http://homepage.mac.com/martinott/
I then accessed this through the terminal app on my mac and ran this command from the terminal command line:
svn checkout http://mapstraction.googlecode.com/svn/trunk/ mapstraction-read-only
So now I have the correct files in my mapstraction folder - still can't get it all to work though :(
Comment #10
s4ndeep commentedoh dear lord. i feel so stupid. been stuck with this for the past three days. I vow to read the README.txt from now on.
Thanks a lot!