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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T21:36:20+00:00 2026-06-04T21:36:20+00:00

I am starting a development for an iPad application to help surveyors perform building/site

  • 0

I am starting a development for an iPad application to help surveyors perform building/site surveys. The basic scenario is that the application will present a plan of a selected building or site (which can be manipulated in the usual iPad way – zoom, rotate, pan). The surveyor (user) will then be able to select pins to drop on the plan which will have pop-outs for entering survey details against the pin. Think iOS Maps app but with a plan/diagram instead of a map and (I guess) using the images co-ordinates rather than geo info.

I have the plan loading into a UIImageView and the various gestures are all working smoothly and I’m now at the big issue of how I’m going to have the pins ‘attached’ or locked to the plan as it gets zoomed/rotated/panned (and saved/restored). I have played around with a few ideas such as adding pins as UIImageView objects to the base plan image with addsubview. This works in that the pins are locked into position on the base image but then are also scaled and rotated along with the base image when gestures are used. The kind of questions I then have with this approach is… How to have track the pin locations in relation to the base image (plan/diagram) while the base image may be zoomed and rotated? How to keep the pins from scaling (always the same size)? Retain the pins orientation?. I am concerned that I may go down a track that ends up with performance issues or display issues when dealing with many pins (100s).

Again, with iOS Maps application (or google maps) in mind, I am seeking some guidance as to best approach for this at higher level but obviously the more detail and specifics the better!

Many thanks in advance.
Michael.

  • 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-06-04T21:36:22+00:00Added an answer on June 4, 2026 at 9:36 pm

    This problem was solved in another question I subsequently asked which can be found here… iOS – Math help – base image zooms with pinch gesture need overlaid images adjust X/Y coords relative

    Basically, I used a scrollView instead and used the following calculations for positioning x, y…

    newX = (pin.baseX * scrollView.zoomScale) + 
        (((pin.frame.size.width * scrollView.zoomScale) - 
        pin.frame.size.width) / 2);
    newY = (pin.baseY * scrollView.zoomScale) + 
        ((pin.frame.size.height * scrollView.zoomScale) - 
        pin.frame.size.height);
    

    Note: ‘pin’ is a custom object that inherits from UIImageView which has properties ‘baseX’ and ‘baseY’ where I store the original x/y coordinates of the pin at zoomScale 1.0. See the link above for sample of my full implementation. Thanks.

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

Sidebar

Related Questions

I am just starting development on a JQuery Slider that will start with a
I am starting the development of a simple WCF application that queries data from
I'm starting the development of a new application based on Vaadin. I'm a big
I'm soon going to be starting some iPhone Development (3.0) building a simple app
Background: I'm (jumping on the bandwagon and) starting learning about iPhone/iPad development and Objective-C.
I am starting development on an iOS app for iPad, and I am looking
New to Objective-C iPhone/iPod touch/iPad development, but I'm starting to discover lots of power
Starting the development of my android app,that uses Maps API, I didn't know that
I'm starting the development of a new software that must be compliant to SQL
I'm starting Java development at a place that uses Weblogic on their production and

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.