ICEfaces
  1. ICEfaces
  2. ICE-10521

ace:gMap - Map location shifting after tabSet change

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P02, 4.0
    • Fix Version/s: EE-3.3.0.GA_P03, 4.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All
    • Assignee Priority:
      P3
    • Support Case References:
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      Wrap the component in a panelGrid:

                  <h:panelGrid>
                      <ace:gMap id="testMap"
                                style="width: 400px; height: 400px"
                                locateAddress="true">
                          <ace:gMapMarker id="markerOne"
                                          latitude="51.0453246"
                                          longitude="-114.05810120000001"/>
                      </ace:gMap>
                  </h:panelGrid>

      Only a panelGrid will work.
      Show
      Wrap the component in a panelGrid:             <h:panelGrid>                 <ace:gMap id="testMap"                           style="width: 400px; height: 400px"                           locateAddress="true">                     <ace:gMapMarker id="markerOne"                                     latitude="51.0453246"                                     longitude="-114.05810120000001"/>                 </ace:gMap>             </h:panelGrid> Only a panelGrid will work.

      Description

      An ace:gMap is located in a tab of an ace:tabSet. When loading a different tab and then going back to the map tab, the location shown on the map has shifted down and to the right.

        Activity

        Hide
        Arran Mccullough added a comment -

        Attached test case that shows this issue.

        Steps:

        • Load welcomeICEfaces.jsf
        • Load Tab Two, map marker is placed at the center.
        • Load Tab One, then go back to Tab Two, map location has now shifted.
        Show
        Arran Mccullough added a comment - Attached test case that shows this issue. Steps: Load welcomeICEfaces.jsf Load Tab Two, map marker is placed at the center. Load Tab One, then go back to Tab Two, map location has now shifted.
        Hide
        Arturo Zambrano added a comment -

        Committed fix to the 3.3 EE maintenance branch at revision 44473 and to the 4.0 trunk at revision 44474. Added a function to resize and re-center gMap's in the tab after doing a successful tab change.

        Show
        Arturo Zambrano added a comment - Committed fix to the 3.3 EE maintenance branch at revision 44473 and to the 4.0 trunk at revision 44474. Added a function to resize and re-center gMap's in the tab after doing a successful tab change.
        Hide
        Liana Munroe added a comment -

        Tested with ICEfaces 4 trunk, EE-3.3.0 maintenance branch r44479. Tomcat 7, IE 11, 10, 9, 8, FF 34, Chrome 41

        Show
        Liana Munroe added a comment - Tested with ICEfaces 4 trunk, EE-3.3.0 maintenance branch r44479. Tomcat 7, IE 11, 10, 9, 8, FF 34, Chrome 41

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arran Mccullough
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: