Print Page | Close Window

function?GetModifiedMapPolyline

Printed From: TMS Software
Category: FMX Components
Forum Name: FMX WebGMaps / WebOSMaps
Forum Discription:
URL: http://www.tmssoftware.com/site/forum/forum_posts.asp?TID=8296
Printed Date: 06 Dec 2019 at 3:33am


Topic: function?GetModifiedMapPolyline
Posted By: Volodymyr TSIPAN VLADIMIR
Subject: function?GetModifiedMapPolyline
Date Posted: 20 Oct 2017 at 1:28pm
I try to use Polyline with Editable mode. After changing the polyline I want to save this updates. In documentation I found function GetModifiedMapPolyline which retrieves modified polyline coordinates.
But actually there are no any example how to use it correctly.
I have tried command
 TMSFMXWebGMaps1.GetModifiedMapPolyline(TMSFMXWebGMaps1.Polylines[0].Polyline);
but have error: "Implement Invoke Script".

Thank you for any suggestion.



Replies:
Posted By: Bart Holvoet
Date Posted: 23 Oct 2017 at 2:35pm
Hi,

Unfortunately this is an oversight in the documentation.
This particular function is currently only supported in the TMS VCL WebGMaps and not in TMS FMX WebGMaps.
We'll have to investigate if the GetModifiedMapPolyline call can be supported in a future version of TMS FMX WebGMaps.


Posted By: Lambell Keith
Date Posted: 25 Jan 2019 at 8:30pm
I have run into the same issue using GetModifiedMapPolygon() in the FMX WebGMaps.
Surely this is a very fundamental part of "editable" items on the map.
How is the implementation different between VCL and FMX ?


Posted By: Bart Holvoet
Date Posted: 28 Jan 2019 at 3:16pm
Hi,

Please note that the GetModifiedMapPolygon and GetModifiedMapPolyline calls require a specific internal function to invoke a JavaScript call for which there is unfortunately no FMX equivalent available at this time.
Due to the current high workload caused by other ongoing projects we haven't been able to further investigate this yet. 
We will continue to investigate for a possible workaround as soon as we have been able to allocate sufficient development time.



Print Page | Close Window