ICEfaces
  1. ICEfaces
  2. ICE-10347

ace:gMap - Add support for multiple subcomponents

    Details

    • Assignee Priority:
      P1
    • Workaround Exists:
      Yes
    • Workaround Description:
      Use c:forEach if you can. c:forEach will not work if the code populating the ace:gMapMarker components is in an f:event tag in the page. This is because all the f:events execute after c:forEach.

      Description

      Attempting to dynamically populate an ace:gMap component with ace:gMapMarker component does not work with ui:repeat:

              <ace:gMap style="height:500px; width:675px;">
                  <ui:repeat value="#{realmBean.userLocations}" var="location">
                      <ace:gMapMarker longitude="#{location.location.geometry.coordinates[0]}" latitude="#{location.location.geometry.coordinates[1]}" options="title:'#{location.username}'"/>
                  </ui:repeat>
              </ace:gMap>

      The result is an error in the browser (Firefox):

      TypeError: a is null
      ...b[r]+b.D);Sa(c,b[C]+b.I)}function Um(a){return new W(a[yb],a[Cc])};function Vm(a...
      {main,places}.js (line 44, col 1838)
      1. gMapMultipleLayers.xhtml
        2 kB
        Arturo Zambrano
      2. gMapMultipleServices.xhtml
        3 kB
        Arturo Zambrano

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43805 Tue Dec 09 15:18:27 MST 2014 art.zambrano ICE-10347 fixes for issues with rendering ace:gMapInfoWindow and ace:gMapOverlay
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapOverlayRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapInfoWindowRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43307 Thu Oct 30 17:24:01 MDT 2014 ken.fyten ICE-10347 added support for ui:repeat to all gMap* subcomponents
        Files Changed
        Commit graph MODIFY /icefaces4/tags/icefaces-4.0.0/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapLayerRenderer.java
        Commit graph MODIFY /icefaces4/tags/icefaces-4.0.0/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapEventRenderer.java
        Commit graph MODIFY /icefaces4/tags/icefaces-4.0.0/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapRenderer.java
        Commit graph MODIFY /icefaces4/tags/icefaces-4.0.0/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapServicesRenderer.java
        Commit graph MODIFY /icefaces4/tags/icefaces-4.0.0/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapInfoWindowRenderer.java
        Commit graph MODIFY /icefaces4/tags/icefaces-4.0.0/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapAutocompleteRenderer.java
        Commit graph MODIFY /icefaces4/tags/icefaces-4.0.0/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapMarkerRenderer.java
        Commit graph MODIFY /icefaces4/tags/icefaces-4.0.0/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapOverlayRenderer.java
        Commit graph MODIFY /icefaces4/tags/icefaces-4.0.0/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapControlRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43272 Wed Oct 29 11:16:15 MDT 2014 art.zambrano ICE-10347 added support for ui:repeat to all gMap* subcomponents
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapLayerRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapMarkerRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapOverlayRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapControlRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapServicesRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapInfoWindowRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapEventRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapAutocompleteRenderer.java

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Brad Kroeger
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: