Download & Extend

gmap_cck settings vs. gmap default settings inconsistency

Project:GMap Addons
Version:5.x-1.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

thanks for the module, much needed contribution bridge between gmap and the cck

trying to get the content in this case location of events with added as event cck content field
- on gmap event node editing does not give the default map as defined on the gmap default settings
- i have attached the 2 screenshots for reference on same image

on the top of the image attached from an event node
the image below is the default gmap location

1- there is layout consistency
at the default gmap size 500 x 200 px
but on the gmap ckk on the node editing 120 x 120px (i would expect the size defined at the gmap default settings - as 500 x 200 px

2- on gmap_cck [current magnification of the map:] does not reflect exactly reflect zooming meta (as it does on gmap.module settings

just reporting to share if it is experienced by other people or is it a known malfunction or if there s a fix or i am missing something on settings or anything else to make the gmap and gmap-cck work in harmony

help/support/idea appreciated
thank you

AttachmentSize
gmap_default-gmap_cck.png39.67 KB

Comments

#1

for the screenshot please refer to the attached image to this post - as i corrected the definition of the the screenshot on the top should be a node's edit mode not gmap-cck settings) gmap-cck has no settings options -afaik- anyway

thanks

AttachmentSize
gmap_default-gmap_cck-re.png 40.85 KB

#2

please try out the new dev-snapshot to see if the bug's still there.

#3

Thanks for the update, i down/uploaded with latest 5.x-1.x-dev but it seems it did not make any difference to the issue above

basically despite the default map is choosen on the CCK
Map field_map > Google map view is not visible, so not possible even point a map macro, or to see the default

I attach another screenshot to explain what i mean
since there no other issue on this, i am curious if this module works for everyone else, its something to do with missing something somewhere on my part and i am missing something or it does not work but no one submit an issue

thank you

AttachmentSize
fields_fieldmap_gmap.png 11.49 KB

#4

Just to mention: you should also have a _very_ recent gmap module installed. Best fresh from cvs ...

#5

just the confirm i have installed today's gmap.module and gmap_addons module in fact i have been installing everyday fresh dec snapshots last few days! hoping it might fix the issue above and make the gmap addon gmap_fields.module work as it should and intended but it does not

as today's installed modules the issue remains explained above

thanks

#6

In your last screenshot, the unit string is missing from width and height. Try '400px' instead of '400'

#7

Ah! silly and blind me :) you are right. I presumed map dimension field there includes the -px -it would be nice if it could though just to be 'fool' :) proof

yes the map works now on
/admin/content/types/event/fields/field_map
with the px added

i also would like to figure out how to get the image marker to the exact address point similar to on

http://vsmith.info/map/macro

thanks for your help!

#8

I have found (after i submitted the issue above) that the same issue raised before far back last year for 4.7.x-1.x-dev
http://drupal.org/node/49667

sorry not finding out this before i submitted and thanks again!

also there is another problem that already mentioned on the issue on the link above but the problem still exist , that however the map on the scck field works now (without the image pointer) also on front page or on multiple node pages only 1 map works and other maps does not - beasude each map does not have an unique ID

As for item 2 you can have as many maps on one page as long as each one has a unique "id".

i guess the module need another field for unique ID each map on each node
is it something needs to be a feature on gmap_fields.module or gmap.module?

thanks

#9

You cannot have a multiple-map field right now (and for the foreseeable future), but displaying multiple maps belonging to different nodes (i.e. in a view) should work.
It at least works for me.

Can we consider the original issue here fixed?

#10

Yes, the original issue is fixed.. thank you

a last few question in my mind

- do i need to open a feature request for multiple maps with macro ID's for each node/map or it is a known issue waiting to be added? or is it to do with the gmap.module actually

btw - in my case the frontpage is a custom view and only the 1st page of latest/top node map works the rest of the map areas are blank area for the size of map but no map visible - so its not a desirable blank areas on the frontpage - otherwise when a node clicked on the full node page the map perfectly works - where there is only 1 map naturally

- also for an image pointer (water-drop-shaped pointer) function to be added, should i open a seperate request for the record?

I appreciate your help Raimund

#11

I have views on my site showing multiple nodes with a map each, so the map-id shouldn't be a problem - unless you want to have multiple maps in one node. Shouldn't be hard to fix but isn't a priority right now.

The image pointer is probably a feature request for the gmap module itself - or maybe also for gmap addons, but it's got nothing to do with the gmap cck field, so you should open a new issue for it. Best try first at the gmap module.

#12

I get the same problem and I have the px width and height given. The issues with the CCK map might be because it is inside a collapsable fieldset? Giving the following CSS helped:

div.gmap-control {
        min-height:250px;
        height:auto !important;
        height:250px;
        overflow:visible;
}

The default width from the GMaps module is still ignored but for some reason it had zero height before this CSS...

I can now see that gmaps is complaining about not having data for the given zoom level. My default in the GMaps module is 7 or something so there is no reason why there shouldn't be map data?

The map centre point is also incorrect for the settings I have placed in the GMaps config.