Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 19.3 ('Black Hole')
Instant purchase and download via GumRoad!

FEATURE

Lost In the Woods

Is a Plugin or Xojo's Built-In MapLocation the Answer?

Issue: 19.3 (May/June 2021)
Author: Markus Winter
Author Bio: Markus is a Molecular Biologist who taught himself REALbasic programming in 2003 to let the computer deal with some exceedingly tedious lab tasks. Some call it lazy, he thinks it smart. He still thinks of himself as an advanced beginner at best.
Article Description: No description available.
Article Length (in bytes): 38,897
Starting Page Number: 60
Article Number: 19307
Related Link(s): None

Excerpt of article text...

Showing where you or something else are, or where you are going and how to get there, have become such common everyday tasks that it is nearly inconceivable that you could get lost... until the battery on your mobile runs out of power.

When it comes to maps, especially on iOS, then Xojo can make you feel lost in the woods. Sure, you can show a location simply enough with ShowURL—like with this code from Xojo's Eddie's Electronic's App for iOS (although I'm puzzled by the use of Call, because ShowURL doesn't return anything so using Call is pointless, and the code functions just fine without it):

// Display map of address

Var shortAddress As String = City + ", " + State + " " + Zip

Var addressSearchString As String = ShortAddress.ReplaceAll(" ", "%20")

...End of Excerpt. Please purchase the magazine to read the full article.