ICEfaces
  1. ICEfaces
  2. ICE-11371

add ability to update location of ace:gmapMarker when dragged to new location

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-4.2.0.GA
    • Fix Version/s: 4.3, EE-3.3.0.GA_P06
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ace gmap

      Description

      Currently when you drag an ace:gmapMarker on the client, there is no ability to update the new location is has been dragged to on the server. The request is to be able to have this capability in the ace:gmapMarker (submit new location from client and decode with component on server to access in backing bean).

        Activity

        Judy Guglielmin created issue -
        Judy Guglielmin made changes -
        Field Original Value New Value
        Assignee Arturo Zambrano [ artzambrano ]
        Judy Guglielmin made changes -
        Fix Version/s 4.3 [ 13096 ]
        Judy Guglielmin made changes -
        Fix Version/s EE-3.3.0.GA_P07 [ 13118 ]
        Arturo Zambrano made changes -
        Summary ad ability to update location of ace:gmapMarker when dragged to new location add ability to update location of ace:gmapMarker when dragged to new location
        Hide
        Arturo Zambrano added a comment - - edited

        r52047: ace:gMapMarker, added dragDropListener to be able to know the new lat,lng values when a marker is dragged and dropped somewhere else; added MarkerDragDropEvent

        In order to preserve backwards-compatibility and the old behaviour, the new LatLng values aren't automatically updated in the component. Instead, the new LatLng values are contained in the MarkerDragDropEvent object. It's up to the app developer to update these values in the component itself or not. For example, there are cases where the original marker locations are wanted whenever the page is reloaded.

        Show
        Arturo Zambrano added a comment - - edited r52047: ace:gMapMarker, added dragDropListener to be able to know the new lat,lng values when a marker is dragged and dropped somewhere else; added MarkerDragDropEvent In order to preserve backwards-compatibility and the old behaviour, the new LatLng values aren't automatically updated in the component. Instead, the new LatLng values are contained in the MarkerDragDropEvent object. It's up to the app developer to update these values in the component itself or not. For example, there are cases where the original marker locations are wanted whenever the page is reloaded.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52047 Tue Oct 31 15:38:30 MDT 2017 art.zambrano ICE-11371 ace:gMapMarker, added dragDropListener to be able to know the new lat,lng values when a marker is dragged and dropped somethere else; added MarkerDragDropEvent
        Files Changed
        Commit graph ADD /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/event/MarkerDragDropEvent.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/GMapMarker.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/gmap/gmap.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapMarkerMeta.java
        Hide
        Arturo Zambrano added a comment -

        r52054: modified fix to return old values as well in MarkerDragDropEvent and to automatically update the component's latitude and longitude values

        Show
        Arturo Zambrano added a comment - r52054: modified fix to return old values as well in MarkerDragDropEvent and to automatically update the component's latitude and longitude values
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52054 Thu Nov 02 12:15:58 MDT 2017 art.zambrano ICE-11371 ace:gMapMarker, modified fix to return old values as well in MarkerDragDropEvent and to automatically update the component's latitude and longitude values
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/event/MarkerDragDropEvent.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/GMapMarkerMeta.java
        Hide
        Arturo Zambrano added a comment -

        r52056: backported new feature to the 3.3 EE maintenance branch

        Show
        Arturo Zambrano added a comment - r52056: backported new feature to the 3.3 EE maintenance branch
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Arturo Zambrano added a comment -

        r52065, r52066: modified behaviour to always update the component's latitude and longitude values when dragged; fixed js error that appeared after dragging marker (4.0 trunk and 3.3 EE maintenance branch)

        Show
        Arturo Zambrano added a comment - r52065, r52066: modified behaviour to always update the component's latitude and longitude values when dragged; fixed js error that appeared after dragging marker (4.0 trunk and 3.3 EE maintenance branch)
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52066 Mon Nov 06 15:51:58 MST 2017 art.zambrano ICE-11371 ace:gMapMarker, modified behaviour to always update the component's latitude and longitude values when dragged; fixed js error that appeared after dragging marker
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapMarkerRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/gmap/gmap.js
        Ken Fyten made changes -
        Fix Version/s EE-3.3.0.GA_P06 [ 13114 ]
        Fix Version/s EE-3.3.0.GA_P07 [ 13118 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Judy Guglielmin
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: