ICEfaces
  1. ICEfaces
  2. ICE-10235

ace:gMap - Map not displaying with out setting its style

    Details

    • Assignee Priority:
      P2
    • Support Case References:
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      Set a px height and width via the style attribute:

      style="width: 500px; height: 500px;"
      Show
      Set a px height and width via the style attribute: style="width: 500px; height: 500px;"

      Description

      When using the ace:gMap component if the height and width are not defined via the style attribute, the map isn't shown. The default styling is heigh/width = 100%. A px size needs to be set for it to be displayed.

      Either a different default CSS needs to be applied or this needs to be documented as a requirement.

        Activity

        Hide
        Liana Munroe added a comment -

        Verified ICEfaces ee-3.3.0 maintenance branch r43872. Tomcat 7, IE 11, FF 34, Chrome 39.

        Show
        Liana Munroe added a comment - Verified ICEfaces ee-3.3.0 maintenance branch r43872. Tomcat 7, IE 11, FF 34, Chrome 39.
        Hide
        Mircea Toma added a comment -

        Ported back the fix.

        Show
        Mircea Toma added a comment - Ported back the fix.
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces 4 trunk r43867. Tomcat 7, IE 11, FF 34, Chrome 39.
        Issue is still present on ee-3.3.0 maintenance branch.

        Show
        Liana Munroe added a comment - Verified ICEfaces 4 trunk r43867. Tomcat 7, IE 11, FF 34, Chrome 39. Issue is still present on ee-3.3.0 maintenance branch.
        Hide
        Mircea Toma added a comment -

        The applied fix sets the default height to 300px to make sure the map is visible when no other style is defined.

        Show
        Mircea Toma added a comment - The applied fix sets the default height to 300px to make sure the map is visible when no other style is defined.
        Hide
        Mircea Toma added a comment -

        This occurs when html and body have zero height, which is the default. To application developer can choose to either style the mentioned elements or define dimensions in pixels or em.

        Show
        Mircea Toma added a comment - This occurs when html and body have zero height, which is the default. To application developer can choose to either style the mentioned elements or define dimensions in pixels or em .

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: