![]() ![]() Furthermore we need a label that shows the result of the calculation and a button to start it. Two fields contains the longitude and latitude of the first coordinate, two other fields store the longitude and latitude of the second coordinate. In this example, I’ll show you a JavaScript that calculates the difference between two geo coordinates given by longitude and latitude. Because you can use JavaScript code in your Xojo projects, you not need to convert an existing JavaScript function to Xojo syntax to use it directly in your projects. This example is based on one of his JavaScript codes. Special thanks to André Rinas whose site supplies very useful JavaScript snippets. So start a search engine and try your luck. Perhaps someone has already found a solution to this problem and shared the solution on the Internet. If you have a problem that you want to solve, you don’t have to reinvent the wheel again and again. ![]() In the newest version of the MBS Xojo Plugin 10.0 we offer functions for the use of JavaScript in your Xojo solutions. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |