Hello all, I have one question:

Hello all, I have one question:
in my case i want use google maps api in IOS and Android i thought its posible by TWebBrowser but i can't call javascript function or i want use WFS service,
 if someone decided this problem please tell me how i can decide this task.

Comments

  1. Perhaps you have to go into Internet settings in Control Panel (or in IE internet options), to allow javascript in the Security tab.  TWebBrowser is a com object into IE, so it'll probably use the IE settings.

    ReplyDelete
  2. Ok, I didn't notice the "iOS" in your message.  oops.  I didn't realize they had a TWebBrowser component for iOS.

    ReplyDelete
  3. On iOS TWebBrowser uses UIWebView. So i don't see a problem with executing java script content from page. But For running custom javascript outside UIWebView we should to get acces to UIWebView, because TWebBroser doesn't provide this function.

    ReplyDelete
  4. Thanks,
    if you know is in IOS platform WMS service component ?

    ReplyDelete
  5. I'm also looking for the same mapping functionality. I've managed to get something working with iOS, but I haven't really had time to investigate in any real depth. Perhaps we can work on it together? PM me if you would like the source.

    ReplyDelete
  6. Ярослав Бровин
    and how i can use that Map Kit framework in delphi just use units?

    ReplyDelete
  7. Merab Chikvaidze
    1. You should translate ObjctiveC classes from MapKit like a iOSapi.CoreAudio.pas (in RTL) or other ios api units in RTL. (look at the rules, which used in trl units for ios api (iOSapi.*.pas))
    2. Include this translated unit to your project
    3. And after you can use translated units in your project. 

    P.S. Not necessarily to translate all methods in classes. You can translate only required methods and class for you

    ReplyDelete
  8. Ярослав Бровин
    Can you tell me route where i can find that files?

    ReplyDelete
  9. Merab Chikvaidze
    Please, look at C:\Program Files (x86)\Embarcadero\RAD Studio\12.0\source\rtl\ios

    ReplyDelete
  10. Ярослав Бровин
    There i must past translated Map Kit files?

    ReplyDelete
  11. Merab Chikvaidze -  Would like my source? It already contains the translated map kit API.

    ReplyDelete
  12. Merab Chikvaidze
    No, there you can look on how As it was done.
    You translated unit you can create in you delphi project as simple unit.

    ReplyDelete
  13. Paul Thornton
    Yes i want it   merabi777@gmail.com send me please.

    ReplyDelete
  14. Merab Chikvaidze I just need to remove a few dependencies, then I will send it :)

    ReplyDelete
  15. Paul Thornton
    Thanks i received it and now i am trying use it.

    ReplyDelete

Post a Comment