artonezero
Member
First of all, many thanks to Rob for the recent enhancements to the GoogleMaps visualization. The clustering facility is very interesting and I am playing around with it and will come back with comments in a little while.
In the meantime there are a few things I would like to do, and if my Javascript skills were better I would hack the code myself, but I could do with some pointers if possible please?
1. I think the option to set the style of map at initial display (normal | Satellite | hybrid) may have broken, as what ever I set it to in the Visualization form it stays resolutely at Normal. Could you advise what code sets the initial value?
2. I should like to add back in the link to the form that is removed in the model/googlemaps.php when info is posted in the visualization template. I should like the link to show below the info I put in manually. Hugh comments in the code that the user can add it in but I'm not sure how to get all the ids I need to write an expression in the template?
http://fabrikar.com/forums/showthread.php?p=41550#post41550 refers
3. I believe that GoogleMaps allows control over standard marker types (eg colour, size, character in pin). I would very much like to be able to change the colour attribute of the marker by a field in the record (e.g. marker_attribute). If set to YELLOW it would be yellow, etc) (This site has a script which generates these in Javascript http://n01se.net/gmapez/start.html ) If the field wasn't present then the marker would default to the standard orange marker with a dot.
If there is a simple one or two line hack I could make to the code to do this I would be eternally grateful (so would my client who could pay for it more to the point)
Keeping my fingers crossed!
Cheers
Mike
In the meantime there are a few things I would like to do, and if my Javascript skills were better I would hack the code myself, but I could do with some pointers if possible please?
1. I think the option to set the style of map at initial display (normal | Satellite | hybrid) may have broken, as what ever I set it to in the Visualization form it stays resolutely at Normal. Could you advise what code sets the initial value?
2. I should like to add back in the link to the form that is removed in the model/googlemaps.php when info is posted in the visualization template. I should like the link to show below the info I put in manually. Hugh comments in the code that the user can add it in but I'm not sure how to get all the ids I need to write an expression in the template?
http://fabrikar.com/forums/showthread.php?p=41550#post41550 refers
3. I believe that GoogleMaps allows control over standard marker types (eg colour, size, character in pin). I would very much like to be able to change the colour attribute of the marker by a field in the record (e.g. marker_attribute). If set to YELLOW it would be yellow, etc) (This site has a script which generates these in Javascript http://n01se.net/gmapez/start.html ) If the field wasn't present then the marker would default to the standard orange marker with a dot.
If there is a simple one or two line hack I could make to the code to do this I would be eternally grateful (so would my client who could pay for it more to the point)
Keeping my fingers crossed!
Cheers
Mike