Closed (fixed)
Project:
GMap Module
Version:
5.x-1.0-alpha1
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2008 at 08:40 UTC
Updated:
22 Jan 2009 at 15:29 UTC
Hello.
How can I use GMAP without the location module?. Because I find the location module quite bad and then I have used taxonomia terms to locate to my users and nodes.
type:
Country--> State--> City
Do I have to create a CCK field for the latitude and longitude?
Of what type? Text, Numeric, etc. And then, How do I lonk it with GMAP?
Thanks
Comments
Comment #1
ultimikeI think you should be able to use GMap without the location module this way:
1. Create and populate 2 CCK fields: latitude and longitude - be sure they are named "Latitude" and "Longitude"
2. Use GMap views to create your map (View Type = GMap View). You must add the "Latitude" and "Longitude" fields to the field list in the view.
I think that's it. Let me know if it works.
-mike
Comment #2
armand0 commentedNo. Dont work. And GMap View requiere location module views. I think gmaps only work with location module. Horror.
Comment #3
ultimikeIt may require the location module installed, but you don't need to use the location form. I just ran a test to confirm. Here's what I did:
1. Created a new CCK content type with 2 fields: Latitude and Longitude (both text fields).
2. I added some content based on my new content type.
3. I created a new view (with "View Type: GMap view") with two fields - the previously mentioned new CCK Latitude and Longitude fields. You'll need to set the "Label" of this fields to "Latitude" and "Longitude". Also, add a filter to only show the new content type.
Give it a try - it works.
-mike
Comment #4
bdragon commented