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

          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.
          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.
          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.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: