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)
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | screen_1.JPG | 36.51 KB | dgastudio |
| #11 | screen_2.JPG | 81.08 KB | dgastudio |
| Getlocation_&adaptive_corolla.jpg | 210.85 KB | itamair | |
| Getlocation_view_set_up.jpg | 96.14 KB | itamair |
Comments
Comment #1
hutch commentedYou 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:'
Comment #2
itamair commentedAh 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?
Comment #3
hutch commentedThe 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
Comment #4
itamair commentedOk. 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.
Comment #5
hutch commentedThe 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.
Comment #6
alexio2170 commentedI'm running the same problem (unable to fire the open infowindow event on marker) any test to troubleshoot?
Many thanks
Comment #7
alexio2170 commentedSpecifically on Corporate Clean theme
Comment #8
hutch commentedI 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.
Comment #9
dgastudio commentedsame here
http://dev.yogalife.by/directory
imposible to open infowindow.
Comment #10
hutch commented@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.
Comment #11
dgastudio commentedHutch, 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.
Comment #12
hutch commentedYou 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.
Comment #13
dgastudio commentedswitched 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.
Comment #14
hutch commentedI 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
Comment #15
dgastudio commented1.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.
Comment #16
dgastudio commentedi 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
Comment #17
hutch commentedI 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.
Comment #18
Anonymous (not verified) commentedSame problem with D6 here.
No JS errors.
Comment #19
hutch commented