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

ultimike’s picture

I 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

armand0’s picture

No. Dont work. And GMap View requiere location module views. I think gmaps only work with location module. Horror.

ultimike’s picture

It 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

bdragon’s picture

Status: Active » Closed (fixed)