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 4258964
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T05:43:12+00:00 2026-05-21T05:43:12+00:00

We are developing an application for people to mark areas (single points, lines, and

  • 0

We are developing an application for people to mark areas (single points, lines, and polygons) on Google Maps using Android phones (2.1 and up). They are given a Google Maps view and enter the points for the lines by centering the screen at the location that they want to create a point and then press a button on the GUI to add the point at that location.

After entering a point, they recenter the screen on the location for the next point and press the create point button again. After all of the points for that shape have been entered, they switch to another view where they enter some descriptive information and send the information to a central database.

Unfortunately, the points shift by a small amount relative to the locations they were supposed to mark. If the user switches from the summary view back to the point editing view, all of the points will have shifted, some by only a foot and some by as much as 10 or 15 feet. The problem appears to be that

GeoPoint point = mapView.getMapCenter();

returns inaccurate GPS coordinates after the view has been panned. When the points are rendered to a fresh view, they are consistently shown at the same position which correlate well with Google maps views on the internet for those same GPS coordinates. We have extensively debugged the software and the coordinates have the wrong map location / GPS coordinates when they are returned from mapView.getMapCenter();

Because we were concerned that the

Point p = new Point();
mapView.getProjection().toPixels(mapView.getMapCenter(), p); 

might not return the screenWidth / 2, screenHeight / 2 location, we actually show the cross-hair used to place points at the toPixels location and the newly created points match up exactly with the cross-hair when they are originally created. After changing to the summary screen and back, they are re-rendered at their real GPS coordinates.

Also, to be clear, this has nothing to do with the accuracy of the GPS sensor.

If we could refresh / reinitialize the map view after panning, it might be awkward, but it would be an improvement over our current problems.
Moving to other map software, meanwhile, would take a lot of time and might have its own problems.

  • 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-21T05:43:13+00:00Added an answer on May 21, 2026 at 5:43 am

    We eventually replaced Google Maps with Bing Maps in our android application, using the Android SDK from InKnowledge. They are providing accurate GPS coordinates for the center of the map view, which we use to build polygons, polylines, and pushpin shapes.

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

Sidebar

Related Questions

I`m developing an application using Spring WebFlow 2, Facelets and JSF. One of my
I'm developing an application for Windows Mobile Devices using Visual Studio .NET 2008 whose
I'm developing an application targeting .NET Framework 2.0 using C# for which I need
I am developing an application using MVC Preview 5. I have used typed views.
Exact duplicate of Photo application Hi people. I'm developing an application, just for fun,
I'm developing an application where it seems likely that people will attempt to hide
What do people think are the most important issues when developing an application that
When developing an application that sends out notification email messages, what are the best
I am developing an application to install a large number of data files from
I am developing console application in .Net and I want to change a behavior

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.