Drupal 5.8, and I've installed modules...
cck-5.x-1.7.tar.gz
cck_gmapaddress-5.x-1.0-beta1.tar.gz
gmap-5.x-1.0-beta2.tar.gz
location-5.x-3.x-dev.tar.gz
views-5.x-1.6.tar.gz
(along with a few others unrelated)
and /think/ I've configured them properly, but when I use the gmap_macro_builder, the string it outputs is too long to fit in the GMap field of my CCK based content types.... and, no matter WHAT I put in that field, including a very truncated version like...
[gmap markers=small red::36.756747629967954,-121.50357413309393 |zoom=15 |center=36.75807193921816,-121.50402545928955]
it gives me an error like...
The address in field_gmap[0] could not be validated as correct address!
i'm sure I'm doing something wrong, but I can't for the life of me figure it out.
Comments
Comment #1
pierce commentedwell. i guess I misundertstood this thing entirely. it lets me put in geo SEARCH fields for googlemaps, like a lat/long. so this is an address search field, not a gmap specifier. but I can't control the zoom, its always showing the me the whole world :-/
Comment #2
becw commentedIt looks like this issue is specific to cck_gmapaddress, so I'm moving it to that queue.
Comment #3
pierce commentedagreed, I apparently confused the two.
so, if I'm using CCK_Gmapaddress, how do I control the zoom of the generated map ? on the module admin pages, I have it set to zoom 9 or so, but its always coming up whole world. my marker is in the right place. note, I'm using latitude/longitude to specify the site.
Comment #4
derhasi commentedSo there is only a zoom-problem in here? Did you set it to zoom = auto and it worked correctly?
I'll have a look at this problem again tomorrow.
Comment #5
pierce commentedI don't even see any module admin pages for CCK GMap Address, just for GMap Locate, and GMap itself. and none of those seem to control the zoom of the CCK Gmap Address.
I'm sure I'm doing something wrong but I can't figure out what.
Comment #6
derhasi commentedYou control the zoom in the settings of the CCK field (admin/content/types/fields), so you can change it for every field, there is no extra settings page for the module. But default settings are managed with GMap Module.
[ http://work.derhasi.de/sites/default/files/cck_configure.png | http://work.derhasi.de/sites/default/files/cck_configure2.png ]
Comment #7
pierce commentedok, thanks, that was what I was missing.
now, if I can just get GMap latitude and longitude to display in GPS format like N 37° 04.317' W 122° 07.721' instead of lon: -122.128683000000000 - lat: 37.071950000000000... but thats the main GMap module, I guess.
Comment #8
derhasi commentedZoom
There also was some error in fetching the default value of gmap module. Now this also works, and you can use GMap to geta side default setting. (Nightly dev didn't work, so the new .module is http://drupal.org/files/issues/cck_gmapaddress.module.txt
Latitude & Longitude:
That has to be handled by CCK GMapAddress' formatter for lonlat: line 420 at the current dev
I simply added this short format, but building your proposed Format with ° and ' would be better. Do you allready have some code for converting?
Comment #9
pierce commentedlets see... this seems to work... I left out any explicit label text as the field is generally labeled from where its referenced...
the site I'm testing this in is a mess and totally work-in-progress, but you can see this used here, http://new.observers.org/observingsites
Comment #10
derhasi commentedThis issue has allready been fixed.