cf_googleMap v.1.3
There are a lot of items that went into the 1.3 release. I have been slammed at work and some remodeling at home so it has been hard to find time to wrap up this release. Once again I must thank Jeff Gladnick for some invaluable feedback and most importantly a base code for a better geocoding engine.
- Changed the logic for the mainpoint attribute so it can be overwritten when a false value is passed.
- Added documentation for to the mainpoint and how it defaults to true when there is 1 point on a map
- Removed the default 1px blue border around the DIV container for the map and replaced it with a style attribute for the googlemap tag.
- Added the show attribute to the cf_googleMapPoint tag
- Added the GM_clearMap() JavaScript function
- Changed the max characters for the driving directions from 40 to 255
- Added example for using the geo.cfc Geocode
- Renamed the Geocode function to GeocodeUS
- Added a new Geocode function based off of code provided by Jeff Gladnick. This should provide a much more accurate geocoding including international addresses.
- Added callJavaScript attribute to the cf_googleMapPoing tag
You can view the details of the changes on the project page or download it on RIA Forge
I love the tag, thanks for putting this together.
The "show" attribute doesn't seem to be functioning, however.
I also cannot seem to interact with the map (zoom, etc) until after the map point has been clicked on.
I'm getting this behavior on a mac in both firefox and safari.
When I play around with your examples, in IE (version 6) a Javascript error will show up (object is not support, line 300). Have you got any idea how to fix this behaviour?
I have not seen this issue before today so I am not sure how to fix it. I will take a look at the JavaScript later on to see if there is a solution to the problem.
Thanks
John
This appears to be an JavaScript issue with the latest MAPS API that Google releases. I am going through my code to see if by a certain way that I am using the API is causing this issue.
Thanks,
John
thanks a lot for your bugfix!! I will test it tomorrow, but your examples look really good. No script-errors anymore :-)
Many regards, Dirk