|
|
|
[
Permlink
| « Hide
]
David Whiterod - 19/Nov/07 05:00 PM
Code attached
Updated ZIP file
Additions: Added Google's new G_PHYSICAL_MAP (Relief) map option Cleaned up displayMap custom tag code Added Marker list option: displays a list of the markers on a map with the ability to pan to them Added option to display scale control: KMs/Miles scalebar Heaps-o-changes!
* packages\formtools\LatLong.cfc * Placed utility JavaScript into the HTML head (via skin:htmlHead) Better usability for 'Find Marker' and 'Move marker to map centre' functions Formatting * packages\formtools\geoAddress.cfc * Excellent ;-) improvements to geocode handling: - Provides a list of locations from which to choose (if more than one result) - Better status/error notification - Once geocoded your address will be updated to Google's fully formatted address style Formatting * packages\types\googleMap.cfc * ----> [COAPI updates required] <---- Re-ording of cfproperties (inc. changes to group like options) Added a number of other Miscellaneous Google Map options (all default to false/disabled) - bEnableGoogleBar: Flag to indicate to display the GoogleBar - bEnableScrollWheelZoom: Flag to indicate to zooming via the mouse scroll wheel - bEnableContinuousZoom: Flag to indicate to enable ContinuousZoom - bEnableDoubleClickZoom: Flag to indicate to enable DoubleClickZoom - bEnableGKeyboardHandler: Navigate a map viw the keyboard - bDisplayScaleControl: Ability to add the map scalebar control to a map. New option to include a marker/location list (this allows users to click from a list of all markers on a map and pan to that location. New option to control the style of the map type control (normal, menu/drop-down and the new heirachical format Added support for Google's new G_PHYSICAL_MAP (Relief) map type Formatting * packages\types\googleMapLocation.cfc * Formatting * tags\displayMap.cfm * Changes to handle all changes above Clean-up and streamlining of the JavaScript Uses the latLong field in prefenence to the address field (NB: changing the address field will automatically update the latLong value) Now allows the ability to specify the size (small, large) of all map controls Formatting Added 'Export to KML' Scheduled Task (uses a collection of generic custom tags to create the XML) [Could be re-written when XML exports can be processed with XSLT - FC-641 or if scheduled tasks can be extented to allow parameter setup via FTs]
Added @@displaynames for GoogleMap display templates googleMapLocation.cfc: Corrected icon handling bShowEarthLink: Added bShowGoogleEarthLink (not yet implemented) packages/rules/ruleGoogleMap.cfc: Updated intro to use the richtext formtool Updated webskin/ruleGoogleMap/* to current GoogleMap SVN head Due to the amount of modification we are doing to the googleMaps plugin we have added it to our local SVN.
Previous ZIPs would have contains .svn folders point to our SVN server. These folders have been removed from the last ZIP (googleMaps_nosvn_20080109.zip) so now it should be just an easy drop into your existing plugins/googleMaps folder Dave, Love to see what you guys are doing here. Would you like write access to the GoogleMaps plugin repository so you can update directly? Just let me know. Plus would be good to have you as a developer under the bug database so you can raise and close your own tickets -- makes the release notes all pretty. Again let me know :)
Added driving directions functionality (bShowDirectionsLink) COAPI update required
Note: directions and associated forms are contained with divs with the following classes (for styling etc): gm-directions-form: First to/from choice panel gm-directions-from: Start address panel gm-directions-to: End address panel Added 'Link to Google Earth' functionality (***requires 'googleMaps' virtual directory***)
Moved whitespace removal into tags/KMLFile.cfm Added more id and class hooks into HTML Added example CSS (in www/css) Attempt to fix case issue in GM-7.
Standardised on camelCase naming (googleMap/googleMapLocation) Rename plugin XL also using camelCase A quick update to (attempt to) keep this forked version of the plugin up-to-date with recent changes in the core GM codebase (added install folder).
Also added icons and additional metadata on the types to make use of FarCry's neat new ability to show summary screens for types. |
|||||||||||||||||||||||||||||||||||||||||||||||||