Details
-
Type:
New Feature
-
Status: Closed
-
Priority:
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
-
Support Case References:Support Case 14227:- https://icesoft.my.salesforce.com/5000g00001nXxkQ
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).
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.