Jump to content

Hayri ASLAN

Moderators
  • Posts

    1577
  • Joined

  • Last visited

  • Days Won

    134

Everything posted by Hayri ASLAN

  1. Please use JSCallGlobal(FMarkerJSName+'.setLatLng', [JSArray([Latitude,Longitude])]); I added SetLatLong procedure to UniMapMarker. With the new build, you will be able to use it as UniMap1.GetMarkerById(1).SetLatLong(Lat,Long)
  2. Hello Please check UniMap demo. You will see "Get User Location" Button C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\UniMap
  3. Hello As a workaround, open UniMap.pas, and add the below into line 1752 IfThen(autoClose=false, 'closeOnClick', ''), JSStatement('null'), So it will look like this
  4. You need to make sure you are connected to websocket before sending the message
  5. Check file and folders name as linux is case sensitive.
  6. Hayri ASLAN

    Source code

    Hello Yes, we already shared full source code
  7. Can you add a simple test case? Where do you have this code? in mainmodule?
  8. You need to send an ajaxRequest to server in your custom function when your process done. for example ajaxRequest (sender, '_done', []);
  9. instead of "/hello" you can use q=hello. Please check URLParameters demo
  10. Done, You will get this with the next build
  11. Hi, Hyper server and persistent node zero. Persistent Node Zero Persistent Node Zero is a Node with Id = zero (0) and it is guaranteed to run continuously, i.e. it will never be permanently unloaded. However, it will be occasionally recycled like any other Node. Again, it is guaranteed that it will be reloaded immediately after it is recycled. Main purpose of a Persistent Node is to make sure that you have at least one Node running at a time. Consider a scenario where your uniGUI application should perform a background task in a thread, possibly in a TUniThreadTimer placed on a ServerModule. In a classical uniGUI app there is only one process, so your background task is guaranteed to run in form of a Singleton. However, in HyperServer where multiple copies of same process are running concurrently, there should be a mechanism to ensure your Singleton method will run only in one of the Nodes. Persistent Node Zero option perfectly serves this purpose. All you need to do is enabled this option and checking Node Id in your uniGUI application. If boolean property in ServerModule named NodeZero is True, then it is safe to run your background task.
  12. Can you send us latest demo to reproduce the issue?
  13. Do you want to import kml file or show images in the map?
  14. Hello Google map works. Did you check the demo? I'll check how to add images as layer
  15. Unfortunately you can only have 1 mainform. I suggest create UniFrameA and UniFrameB. Load them into mainform based on user
  16. Can you please create a test case?
  17. Confirmed. I added this to backlog. We will provide a fix one of the next builds.
  18. Please try dashArray option Options.dashArray := '20 20';
×
×
  • Create New...