ICEfaces
  1. ICEfaces
  2. ICE-5676

Update ice:gmap components to use Google maps JavaScript API v3

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha2
    • Fix Version/s: 3.1.0.RC1, 3.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Any
    • Assignee Priority:
      P1
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration

      Description

      It will be great to improve GMap component to work with v3 API from Google.

        Issue Links

          Activity

          Pavel Kuzin created issue -
          Ken Fyten made changes -
          Field Original Value New Value
          Salesforce Case []
          Fix Version/s 1.8.2-EE-GA_P02 [ 10226 ]
          Assignee Adnan Durrani [ adnan.durrani ]
          Adnan Durrani made changes -
          Assignee Adnan Durrani [ adnan.durrani ] Ken Fyten [ ken.fyten ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 1.8.2-EE-GA_P02 [ 10226 ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 2.1 [ 10241 ]
          Affects [Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration]
          Ken Fyten made changes -
          Salesforce Case []
          Assignee Priority P2
          Assignee Ken Fyten [ ken.fyten ] Adnan Durrani [ adnan.durrani ]
          Ken Fyten made changes -
          Link This issue blocks ICE-6596 [ ICE-6596 ]
          Hide
          zzzz8 zzzz8 added a comment -

          I'm not sure if this will require any extra changes (since I'm not familiar with the Google Maps API) - or perhaps this is already being considered - but please consider supporting Google Maps API v3 access over HTTPS.

          Show
          zzzz8 zzzz8 added a comment - I'm not sure if this will require any extra changes (since I'm not familiar with the Google Maps API) - or perhaps this is already being considered - but please consider supporting Google Maps API v3 access over HTTPS.
          Hide
          Ken Fyten added a comment -

          New ace: gmap component will support the latest gmap API spec.

          Show
          Ken Fyten added a comment - New ace: gmap component will support the latest gmap API spec.
          Ken Fyten made changes -
          Salesforce Case []
          Assignee Priority P2
          Assignee Adnan Durrani [ adnan.durrani ]
          Ken Fyten made changes -
          Fix Version/s 3.1 [ 10312 ]
          Fix Version/s 3.0 [ 10241 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #29063 Wed May 16 13:21:22 MDT 2012 ken.fyten Scratchpad for ICE-5676 prototyping.
          Files Changed
          Commit graph ADD /icefaces3/scratchpads/ICE-5676
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #29083 Wed May 16 17:51:47 MDT 2012 brennanm ICE-5676 - Initial commit of ice:gmap with v3 JS API support.
          Files Changed
          Commit graph MODIFY /icefaces3/scratchpads/ICE-5676/icefaces/compat/components/src/main/java/com/icesoft/faces/component/gmap/GMap.java
          Commit graph MODIFY /icefaces3/scratchpads/ICE-5676/icefaces/compat/core/src/main/javascript/extras/extras.js
          Commit graph MODIFY /icefaces3/scratchpads/ICE-5676/icefaces/compat/components/src/main/java/com/icesoft/faces/component/gmap/GMapMarker.java
          Commit graph MODIFY /icefaces3/scratchpads/ICE-5676/icefaces/compat/components/src/main/java/com/icesoft/faces/component/gmap/GMapDirection.java
          Commit graph MODIFY /icefaces3/scratchpads/ICE-5676/icefaces/compat/components/src/main/java/com/icesoft/faces/component/gmap/GMapResourceHandler.java
          Commit graph MODIFY /icefaces3/scratchpads/ICE-5676/icefaces/compat/components/src/main/java/com/icesoft/faces/component/gmap/GMapGeoXml.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #29089 Thu May 17 09:47:10 MDT 2012 brennanm ICE-5676 - Updating GMapMarker to re-implement draggable property. Missed it in the first pass.
          Files Changed
          Commit graph MODIFY /icefaces3/scratchpads/ICE-5676/icefaces/compat/components/src/main/java/com/icesoft/faces/component/gmap/GMapMarker.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #29132 Fri May 18 14:26:09 MDT 2012 brennanm ICE-5676 - Updating to work with changes to the data made from the backing bean.
          Files Changed
          Commit graph MODIFY /icefaces3/scratchpads/ICE-5676/icefaces/compat/core/src/main/javascript/extras/extras.js
          Commit graph MODIFY /icefaces3/scratchpads/ICE-5676/icefaces/compat/components/src/main/java/com/icesoft/faces/component/gmap/GMapControl.java
          Commit graph MODIFY /icefaces3/scratchpads/ICE-5676/icefaces/compat/components/src/main/java/com/icesoft/faces/component/gmap/GMapMarker.java
          Commit graph MODIFY /icefaces3/scratchpads/ICE-5676/icefaces/compat/components/src/main/java/com/icesoft/faces/component/gmap/GMapDirection.java
          Commit graph MODIFY /icefaces3/scratchpads/ICE-5676/icefaces/compat/components/src/main/java/com/icesoft/faces/component/gmap/GMapLatLng.java
          Commit graph MODIFY /icefaces3/scratchpads/ICE-5676/icefaces/compat/components/src/main/java/com/icesoft/faces/component/gmap/GMapGeoXml.java
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 3.1.0.RC1 [ 10337 ]
          Assignee Priority P1
          Assignee Arturo Zambrano [ artzambrano ]
          Ken Fyten made changes -
          Salesforce Case []
          Assignee Priority P1 P2
          Ken Fyten made changes -
          Summary Improve Gmap to Google maps API v3/ Update ice:gmap components to use Google maps JavaScript API v3
          Salesforce Case []
          Ken Fyten made changes -
          Salesforce Case []
          Assignee Priority P2 P1
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #29615 Thu Jun 21 10:36:25 MDT 2012 art.zambrano ICE-5676 initial check-in
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/gmap/GMapResourceHandler.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/gmap/GMapMarker.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/gmap/GMapGeoXml.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/gmap/GMapLatLng.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/gmap/GMap.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/compat/core/src/main/javascript/extras/extras.js
          Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/gmap/GMapDirection.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/gmap/GMapControl.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #29659 Fri Jun 22 15:13:49 MDT 2012 art.zambrano ICE-5676 fixed controls functionality
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/compat/core/src/main/javascript/extras/extras.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #29698 Tue Jun 26 16:38:55 MDT 2012 art.zambrano ICE-5676 added code to display a marker and an info window when locating an address, the same way it was in Goolge Maps V2
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/compat/core/src/main/javascript/extras/extras.js
          Hide
          Arturo Zambrano added a comment -

          The improvements to support V3, while preserving backwards component compatibility and functionality, are now committed at revision 29698.

          Most of the work involved modifying API calls in the client side and Javascript calls to our own API form the server side. The new Google Maps API differs substantially from the previous version in its general patterns and approach, so it was also necessary to restructure our own client-side API to work with the new Google Maps API and to preserve the same behaviours and functionality of the component.

          Show
          Arturo Zambrano added a comment - The improvements to support V3, while preserving backwards component compatibility and functionality, are now committed at revision 29698. Most of the work involved modifying API calls in the client side and Javascript calls to our own API form the server side. The new Google Maps API differs substantially from the previous version in its general patterns and approach, so it was also necessary to restructure our own client-side API to work with the new Google Maps API and to preserve the same behaviours and functionality of the component.
          Arturo Zambrano made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Arturo Zambrano added a comment - - edited

          As for controls, the previous 6 types of controls (GSmallMapControl, GLargeMapControl, GSmallZoomControl, GScaleControl, GMapTypeControl, and GOverviewMapControl) are preserved. Since, the first two (GSmallMapControl and GLargeMapControl) do not exist in V3, they are composed instead of a combination of two other controls: a pan control and a small or large zoom control.

          The behaviour of the previous API of displaying a marker and an info window when locating an address is not done by default in V3. So, a new marker and info window are created every time an address is located in a map, making sure that only one such pair of marker/info window is displayed at a time.

          The 'Hybrid' map option is now just the 'Satellite' map with the 'Labels' checkbox checked.

          Show
          Arturo Zambrano added a comment - - edited As for controls, the previous 6 types of controls (GSmallMapControl, GLargeMapControl, GSmallZoomControl, GScaleControl, GMapTypeControl, and GOverviewMapControl) are preserved. Since, the first two (GSmallMapControl and GLargeMapControl) do not exist in V3, they are composed instead of a combination of two other controls: a pan control and a small or large zoom control. The behaviour of the previous API of displaying a marker and an info window when locating an address is not done by default in V3. So, a new marker and info window are created every time an address is located in a map, making sure that only one such pair of marker/info window is displayed at a time. The 'Hybrid' map option is now just the 'Satellite' map with the 'Labels' checkbox checked.
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Arturo Zambrano
              Reporter:
              Pavel Kuzin
            • Votes:
              7 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: