Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7080597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:48:54+00:00 2026-05-28T06:48:54+00:00

I have attempted creating a cllocation object using the tapmessage’s wheregeo and worldloc properties.

  • 0

I have attempted creating a cllocation object using the tapmessage’s wheregeo and worldloc properties. however the lat and lon & x, y values that i get from them are not able to be used to create a cllocation object. Maybe i am formatting incorrectly?

Thanks in advances

logging this

GeoCoord coord = msg.whereGeo;
Point3f point = msg.worldLoc;
NSLog(@"x point is %f",point.x());
NSLog(@"y point is %f",point.y());
NSLog(@"from wheregeo %f",coord.lat());
NSLog(@"from wheregeo %f",coord.lon());

gives me this

2012-01-19 12:30:22.491 WhirlyGlobeApp[1068:4007] x point is -0.138646

2012-01-19 12:30:22.492 WhirlyGlobeApp[1068:4007] y point is 0.554229

2012-01-19 12:30:22.493 WhirlyGlobeApp[1068:4007] from wheregeo 0.962698

2012-01-19 12:30:22.494 WhirlyGlobeApp[1068:4007] from wheregeo 1.815925

I am using the cllocation default init with latittude and longitude method

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T06:48:54+00:00Added an answer on May 28, 2026 at 6:48 am

    That would be radians vs. degrees. The coordinates are in radians, but you probably need degrees for CLLocation.

    Just use the RadToDeg() template in GlobeMath.h. It looks weird, but just call it like a function.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have attempted to use $_SESSION in a form input I am creating however
I have some experience making multiplayer turn-based games using sockets, but I've never attempted
I am creating a basic msi project using installsheild 2012 premier. I have two
I have attempted to use this CSS to set the width of my form
I have attempted to make my first 3 tier application. In the process I
I have a two-column primary key on a table. I have attempted to alter
Can Unicode characters be encoded and decoded with Base64 ? I have attempted to
I believe this question might have been previously attempted in 2006 on a different
I have created a skin for DotNetNuke 5.x and I attempted to do as
I am using storyboards and have dragged a scrollview window onto a view. In

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.