Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

WebGMaps V2.7.0.0

 Post Reply Post Reply
Author
Graham Powell View Drop Down
New Member
New Member
Avatar

Joined: 29 Sep 2014
Posts: 31
Post Options Post Options   Quote Graham Powell Quote  Post ReplyReply Direct Link To This Post Topic: WebGMaps V2.7.0.0
    Posted: 08 Mar 2017 at 3:48pm
Just installed V2.7.0.0 and when I run the program I get:

Error: Property Routing.PolygonOption.Icons does not exist.

Any clues
Back to Top
Bruno Fierens View Drop Down
TMS Support
TMS Support
Avatar

Joined: 11 May 2010
Posts: 8596
Post Options Post Options   Quote Bruno Fierens Quote  Post ReplyReply Direct Link To This Post Posted: 08 Mar 2017 at 3:54pm
What program do you run?
There is no property Routing.PolygonOption, the property that exists is Routing.PolyLineOptions and that property is available in the v2.7
Please scan your full hard disk for old versions of FMX.TMSWebGMaps.pas and make sure only one and the latest version is installed. With a clean setup of only the latest version, there shouldn't be any issues.
Back to Top
Powell Graham View Drop Down
Member
Member
Avatar

Joined: 04 Jan 2013
Posts: 85
Post Options Post Options   Quote Powell Graham Quote  Post ReplyReply Direct Link To This Post Posted: 08 Mar 2017 at 5:14pm
Sorry again, you are correct. The error is:
"Property Routing.PolylineOptions.Icon does not exist"

I deleted everything to do with FMX.TMSWebGMaps, including the Delphi BPL and DCP directories.

Reinstalled the FMX Web GMaps V2.7.0.0 and it is exactly the same.
It happens if I target an Android or a Windows platform.
The TMS WebGmapsDemo program is also gives the same error.

Is this a clue to anything:
At design time I click on the GMap component.
In the Object Inspector I select Polylines
Click on the 3 dots and "Add New"
Now delete what you have just added.
Pointer error + Access Violation + Catastrophic Failure

Graham

Back to Top
Bruno Fierens View Drop Down
TMS Support
TMS Support
Avatar

Joined: 11 May 2010
Posts: 8596
Post Options Post Options   Quote Bruno Fierens Quote  Post ReplyReply Direct Link To This Post Posted: 08 Mar 2017 at 5:41pm
I can't see any of these issues here with v2.7.
Can you verify by inspecting FMX.TMSWebGMaps.pas under const that you have effectively the 2.7.0.0 source version?
Back to Top
Graham Powell View Drop Down
New Member
New Member
Avatar

Joined: 29 Sep 2014
Posts: 31
Post Options Post Options   Quote Graham Powell Quote  Post ReplyReply Direct Link To This Post Posted: 08 Mar 2017 at 6:42pm
Correct it is V2.7.0.0 is the pas file. Also When Delphi starts up, the splash screen shows V2.7.0.0 as well.
Back to Top
Bruno Fierens View Drop Down
TMS Support
TMS Support
Avatar

Joined: 11 May 2010
Posts: 8596
Post Options Post Options   Quote Bruno Fierens Quote  Post ReplyReply Direct Link To This Post Posted: 08 Mar 2017 at 6:44pm
Then you should see in this .pas file the type Routing.PolyLineOptions and thus, when you compile your app against this file, it should find this type.
Back to Top
Powell Graham View Drop Down
Member
Member
Avatar

Joined: 04 Jan 2013
Posts: 85
Post Options Post Options   Quote Powell Graham Quote  Post ReplyReply Direct Link To This Post Posted: 08 Mar 2017 at 9:00pm
The problem has been solved.
It would appear that I have GMaps V2.5.0.2 installed as well.
It looks like TMS changed the folder from:

TMS WebGMaps for FireMonkey
to
TMS FMXWebGMaps

The new installation did not delete the old folder and also left the Delphi Library settings containing both the old and the new folders.

Graham
Back to Top
Bruno Fierens View Drop Down
TMS Support
TMS Support
Avatar

Joined: 11 May 2010
Posts: 8596
Post Options Post Options   Quote Bruno Fierens Quote  Post ReplyReply Direct Link To This Post Posted: 08 Mar 2017 at 9:16pm
Thanks for letting know all is fine now.
The normal procedure is to run the uninstaller (from Windows Control Panel) and then install the new version.
Back to Top
Graham Powell View Drop Down
New Member
New Member
Avatar

Joined: 29 Sep 2014
Posts: 31
Post Options Post Options   Quote Graham Powell Quote  Post ReplyReply Direct Link To This Post Posted: 09 Mar 2017 at 9:10am
OK. I always thought, that as the installer gave you the option to remove previous versions, this was not necessary. But maybe not the case if the installation directory has changed.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down