Thanks for this great module, that looks yet very efficient and very promising.

I tested it with both garland and adaptive themes, and on both of them I am unable to fire the open infowindow event on the marker ... I tested this on a Getlocation view.
Here attach two screenshots, that also show that scale bar doesn't render, although choosen in the setup gui of the view.
Some maps renderings problems with adaptive theme are going to be fixed in this thread: http://drupal.org/node/1297980. But not sure the scale bar rendering depends on that.
The infowindow problem seems not for sure, as I am experiencing that also with garland theme.
May be I didin't get how to make this working ...

Thanks for any help ... (and for this amazing module development)

Comments

hutch’s picture

You want zoom, large or small
Scale shows the distance of a kilometer and is there at the bottom.

To get infowindow to work make sure you have it enabled inder 'Marker click action:'

itamair’s picture

Ah ok. Sorry ... the scale is that shown.
But ... the zoom control doesn't work if the default is chosen. Works on small & large.
And no way to make the mouse feeling the marker. So no infowindow, and neither infobubble.
I am checking this with the rendering of the map through the getlocation plugin in a view.
The gmap module is active at the same time ...

Any other suggestions?

hutch’s picture

The default zoom is whatever Google have it set to.
I don't know why you are not getting Infowindow or Link to work, check in your javascript error console.
Gmap should not interfere as long as there are no gmap maps up at the same time

itamair’s picture

Ok. I will check ...
In the meanwhile you might be interested in reding the comment from the mantainer of the adaptive theme, here http://drupal.org/node/1297980
(posts #7, 8, 9, 10, and mainly 11) as I checked this with Adaptive theme. But not etter results with Garland & Bartik, too.

hutch’s picture

The link mentioned in #1297980: img max-width 100% breaks map displays - gmap, getlocations, openlayers #10 does not show a getlocations map, that map is generated by gmap. You have getlocations_colorbox.js loaded but are not calling it anywhere, I cannot see rel='getlocationsbox' anywhere in your html source, nor is getlocations.js being loaded.
Getlocations does not apply any css, the entries in getlocations.css are empty, merely suggestions for themers and in any event you are not loading getlocations.css.
I don't see what this has to do with Getlocations.

alexio2170’s picture

I'm running the same problem (unable to fire the open infowindow event on marker) any test to troubleshoot?
Many thanks

alexio2170’s picture

Specifically on Corporate Clean theme

hutch’s picture

I doubt that theming has anything to do with it.
Try different browsers. It has been tested on FF, Opera, Chrome and Safari running on Linux and OSX.
Check and resave the settings for Getlocations field widget or style widget in your View.
Look at the source HTML and see if the getlocations settings make sense, you should see if infowindows/infobubble is enabled.

dgastudio’s picture

same here

http://dev.yogalife.by/directory

imposible to open infowindow.

hutch’s picture

Category: bug » support

@kervi, you need to read the README.txt carefully first, you have no getlocations files or googlemaps loading, getlocations_colorbox.js is for advanced use.

dgastudio’s picture

StatusFileSize
new81.08 KB
new36.51 KB

Hutch, yep, the previous link was to show u that ajax doesnt work.

i have removed exposed filter, so now, the map is displayed properly.

i have readed carefully the readme.txt file and:

installed all markers

check the settings in attached files

views infowindow/infobubble/link it doesnt work.

hutch’s picture

You still have ajax views switched on, if that was needed it would have been enabled in the first place, I suggest you revert 'allnodes' back to the original, clone that, disable the original and play with the clone. What you are using now is broken.
If you read getlocations.js you will see that it already uses ajax to fetch the content of the bubble or link.

dgastudio’s picture

switched ajax off. no result

Are you sure you want to revert getlocations_map_allnodes?
yes

edit Getlocations map allnodes

Format: GetLocations -> Settings

Marker click action
InfoWindow

add page, path = Getlocations

save.

http://dev.yogalife.by/Getlocations

click click click click.. doesnt work.

Marker click action
InfoBubble

save.

http://dev.yogalife.by/Getlocations

click click click click.. doesnt work again!.

the map in block, also doesnt work.

p.d. i can provide u a access to my website if u want.

hutch’s picture

I can only assume that you have a javascript clash somewhere, The click event listener (line 184 getlocations.js) is not activating.
markeraction is set correctly so it should fire.

This url I have no auth for, how does that look to you? Does not use Views and is set up under global config.

http://dev.yogalife.by/getlocations/node/1

dgastudio’s picture

1.if u visit any page at getlocations/node/1 and this node don't have location info:

Notice: Trying to get property of non-object in getlocations_nodemap() (line 254 of /home/u4586/domains/dev.yogalife.by/sites/all/modules/getlocations/getlocations.module).
Notice: Undefined index: in getlocations_nodemap() (line 254 of /home/u4586/domains/dev.yogalife.by/sites/all/modules/getlocations/getlocations.module).
Notice: Trying to get property of non-object in getlocations_nodemap() (line 273 of /home/u4586/domains/dev.yogalife.by/sites/all/modules/getlocations/getlocations.module).

2.after visit getlocations/node/100 (node 100 have location info) the map is displayed properly, but the click button doesnt work.

3. i have checked the CONSOLE tab of firebug, and the only error that i can see is

Image corrupt or truncated: http://maps.googleapis.com/maps/api/js/StaticMapService.GetMapImage?1m2&...

in admin/config/services/getlocations i have enabled Marker click action to InfoWindow.

dgastudio’s picture

i have found js problem in views:

markermanager.js

this.getProjection() is undefined
var div = this.getProjection().fromLatLngToDivPixel(latlng);

but in http://dev.yogalife.by/getlocations/node/209
no erros, no actions on click

hutch’s picture

I have also seen this error but it appeared erratically, it seems to be due to some sort of javascript race condition. I could not find a way to contact the original author to report this.

I can only suggest that if you are getting this error, disable markermanager.

Anonymous’s picture

Same problem with D6 here.

No JS errors.

hutch’s picture

Status: Active » Closed (works as designed)