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

When use TTMSFMXWebOSMaps,APP crashing.

 Post Reply Post Reply
Author
? ?? View Drop Down
New Member
New Member
Avatar

Joined: 25 Oct 2012
Posts: 18
Post Options Post Options   Quote ? ?? Quote  Post ReplyReply Direct Link To This Post Topic: When use TTMSFMXWebOSMaps,APP crashing.
    Posted: 06 May 2019 at 3:31am
When use TTMSFMXWebOSMaps,APP crashing.

On win10:
  when i tested on Win10, i set Visible=true, my app on Win10 can not run, i set it  False first,after the app run, i use code to set True again ,it is ok。 

On Android(25.2.3)
  after i installed apk in my Android phone ,then want to run app ,it crash,try to run it by code,get another error message which is 'Jave class JJavaScriptHelper could not be found'.

  if (TMSFMXWebOSMaps1=nil) then
    begin
        TMSFMXWebOSMaps1:=TTMSFMXWebOSMaps.Create(nil);
        TMSFMXWebOSMaps1.NewInstance;
        TMSFMXWebOSMaps1.Parent:= Rectangle8;
        TMSFMXWebOSMaps1.Align:=TAlignLayout.Client;
        TMSFMXWebOSMaps1.MapOptions.TileServerURL.Clear;
        TMSFMXWebOSMaps1.Enabled:=True;
        TMSFMXWebOSMaps1.Visible:=false;

        url:=m_sCameraFilePath.Replace('\','/');
        url:=url+'/map/maptile/googlemaps/hybrid/${z}/${x}/${y}.jpg';
        TMSFMXWebOSMaps1.MapOptions.TileServerURL.Add(url);

        TMSFMXWebOSMaps1.Loaded;
        TMSFMXWebOSMaps1.Initialize;

    end;

    TMSFMXWebOSMaps1.Visible:=True;

Back to Top
? ?? View Drop Down
New Member
New Member
Avatar

Joined: 25 Oct 2012
Posts: 18
Post Options Post Options   Quote ? ?? Quote  Post ReplyReply Direct Link To This Post Posted: 06 May 2019 at 3:32am
My English is not good ,so Asks everybody to forgive!
Back to Top
? ?? View Drop Down
New Member
New Member
Avatar

Joined: 25 Oct 2012
Posts: 18
Post Options Post Options   Quote ? ?? Quote  Post ReplyReply Direct Link To This Post Posted: 06 May 2019 at 3:42am
hi,  when  I bought TTMSFMXWebOSMaps ,i saw the version of TTMSFMXWebOSMaps  that is  2.1, but after  i installed it ,i  saw the version is 2.0.3.3, it is ok ?
Back to Top
Bart Holvoet View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 2052
Post Options Post Options   Quote Bart Holvoet Quote  Post ReplyReply Direct Link To This Post Posted: 06 May 2019 at 11:57am
Hi,

- To enable Android support, please follow the instructions indicated here:

- The installer should indicate the correct version. It's possible that the version number of the component is not updated if no code changes were made to the specific file.
Back to Top
? ?? View Drop Down
New Member
New Member
Avatar

Joined: 25 Oct 2012
Posts: 18
Post Options Post Options   Quote ? ?? Quote  Post ReplyReply Direct Link To This Post Posted: 08 May 2019 at 9:02am
hi
thanks so much。

i want to hide text and link which  is  'Data CC-By-Sa by OperStreetMap' ,

how to do please ,cause i set custom TileServerURL  .
Back to Top
? ?? View Drop Down
New Member
New Member
Avatar

Joined: 25 Oct 2012
Posts: 18
Post Options Post Options   Quote ? ?? Quote  Post ReplyReply Direct Link To This Post Posted: 08 May 2019 at 12:27pm
HI ,i have tested it allready, but can not run on Android still , pops a error message that is 'The specified file was not found'  ,please help me again.
Back to Top
? ?? View Drop Down
New Member
New Member
Avatar

Joined: 25 Oct 2012
Posts: 18
Post Options Post Options   Quote ? ?? Quote  Post ReplyReply Direct Link To This Post Posted: 08 May 2019 at 12:28pm
HI ,i have tested it already, but can not run on Android still , pops a error message that is 'The specified file was not found'  ,please help me again.
Back to Top
? ?? View Drop Down
New Member
New Member
Avatar

Joined: 25 Oct 2012
Posts: 18
Post Options Post Options   Quote ? ?? Quote  Post ReplyReply Direct Link To This Post Posted: 08 May 2019 at 1:38pm
hi can i use TTMSFMXWebOSMaps offline? if  i set custom TileServerURL  whick is in my computer
Back to Top
Bart Holvoet View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 2052
Post Options Post Options   Quote Bart Holvoet Quote  Post ReplyReply Direct Link To This Post Posted: 08 May 2019 at 4:12pm
Originally posted by ? ??

HI ,i have tested it already, but can not run on Android still , pops a error message that is 'The specified file was not found'  ,please help me again.

It might be that the TileServerURL you are using is not accessible from your Android device.
Have you tried using the default TileServerURL instead of a custom URL?
Back to Top
Bart Holvoet View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 2052
Post Options Post Options   Quote Bart Holvoet Quote  Post ReplyReply Direct Link To This Post Posted: 08 May 2019 at 4:22pm
Originally posted by ? ??

hi can i use TTMSFMXWebOSMaps offline? if  i set custom TileServerURL  whick is in my computer

Users have reported that using a local path as the TileServerURL is possible. 
However this has not been tested internally and is not officially supported at this time.

For complete offline support you will also have to make sure to provide local paths for the ScriptURL, ImageURL StyleURL and LanguageURL properties.
Back to Top
Bart Holvoet View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 2052
Post Options Post Options   Quote Bart Holvoet Quote  Post ReplyReply Direct Link To This Post Posted: 08 May 2019 at 4:26pm
Originally posted by ? ??

hi
thanks so much。

i want to hide text and link which  is  'Data CC-By-Sa by OperStreetMap' ,

how to do please ,cause i set custom TileServerURL  .

Unfortunately it's currently not supported to remove this text.
However, this is a good suggestion and we'll consider adding this option in a future version.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down