ICEfaces
  1. ICEfaces
  2. ICE-10979

ace:gMap - JavaScript error thrown when setting a certain height

    Details

      Description

      If an ace:gMap component is set with a height higher than 568px, a script error is thrown which is preventing markers from being set on the map:

      Error: Uncaught TypeError: Cannot read property 'addEventListener' of undefined

      Sample code: <ace:gMap style="width: 675px; height: 570px;" ...>

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48484 Thu Mar 03 11:00:55 MST 2016 art.zambrano ICE-10979 modified the approach to initialize address-based markers by first creating an instance of a Marker object that is initially hidden and then its position is updated in the geocoding request callback and is made visible, instead of completely initializing the Marker object from within the geocoding request callback; also modified the infowindows callbacks to be the entire initialization functions instead of just the functions for attaching the windows to markers
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/gmap/gmap.js

          People

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

            Dates

            • Created:
              Updated:
              Resolved: