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

  • Home
  • SEARCH
  • 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 6666061
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:47:20+00:00 2026-05-26T02:47:20+00:00

I have an app that uses a map to show a certain, fixed, location.

  • 0

I have an app that uses a map to show a certain, fixed, location. With the next update I’d like to show the route from the users current location to this fixed point. I already managed to get the users location via myLocationOverlay.
As far as I see it I need to send the coordinates to Google Maps, receive a .kml file with the points and draw the route from that. How can I get the values for latitude and longitude from myLocationOverlay or is there a better way to do what I want to do?
TIA

  • 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-26T02:47:21+00:00Added an answer on May 26, 2026 at 2:47 am

    You can use getMyLocation from MyLocationOverlay. You then need to convert the GeoPoint into its respective degree for lat and long.

    Here is a reference for Geo.java that contains some of the function that you could use to convert the GeoPoint to its corresponding lat and longitude. In particular you want to use these two:

     public static Location toLocation(GeoPoint point) {
        Location result = new Location("");
        result.setLatitude(toDegrees(point.getLatitudeE6()));
        result.setLongitude(toDegrees(point.getLongitudeE6()));
        return result;
      }
    

    And

      /**
       * Convert microdegrees to degrees.
       * @param degreesE6 Value in microdegrees.
       * @return Value in degrees.
       */
      public static double toDegrees(int degreesE6) {
        return (double) degreesE6 / E6;
      }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an intranet web app that uses CSS httpFolder to map a webdav
I have an app, that uses mapview. i can only see the map, when
We have an app that uses simple one way binding with a GridView to
I have an app that uses EF. To test my stuff I generally wrap
I have an app that uses the python/c api and I was wondering what
I have an app that uses a tableview, along with a UIButton that I
I have a App that uses the In App feature. -(void) completeTransaction: (skPaymenttransaction *)transaction{
I have an app that uses the iPhone camera and puts an overlay over
I have an app that uses Spring security and BlazeDS. Flex 3.2 is used
So I have an app that uses the Zend amazon web services client. I

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.