Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 04-01-2010, 12:16 PM   #1 (permalink)
Registered Member
 
Join Date: Mar 2010
Location: Concord, MA
Posts: 6
Island Jim is on a distinguished road
Send a message via Skype™ to Island Jim
Default Using GPS on a custom map

I have a new project where we want to show a custom map of a 35 acre campus. The map we need to use already exists and we want it to be part of the UI to click on a sector and go to information about the items in that area.

We want to also indicate the user's location with a pin using GPS coordinates and show this on top of the custom map. It is not viable to use the stock Google maps as the image. Is it possible to do this? If so how? I have noticed that a couple of other folks on this forum have asked similar questions months ago but there were no responses. I have also not seen an example where this has been done.

I hope someone knows the trick, or could even show me some apps where this has been done. If this is not possible, I'd love to know so we could reset client expectations.
Island Jim is offline   Reply With Quote
Old 04-01-2010, 01:36 PM   #2 (permalink)
Senior Member
iPhone Dev SDK Supporter
 
Join Date: Aug 2008
Location: Memphis, TN, USA
Age: 24
Posts: 3,983
smithdale87 is on a distinguished road
Send a message via AIM to smithdale87
Default

You can use CLLocationManager and just register for location updates so that you will have the lat/long of the user at all times.

Then you'd need to figure out what the lat/long boundaries of your 35acre map are.

Once you have all of this, adding a pin is trivial, as well as performing some event when the pin is selected.
smithdale87 is offline   Reply With Quote
Old 04-01-2010, 01:51 PM   #3 (permalink)
Registered Member
 
Join Date: Mar 2010
Location: Concord, MA
Posts: 6
Island Jim is on a distinguished road
Send a message via Skype™ to Island Jim
Default Thanks for the advice on this

This sounds straight forward, thanks for the tip. Are there some apps that you could point me to that might showcase this feature. I would love to see how others may have implemented it.

Thanks,

Jim
Island Jim is offline   Reply With Quote
Old 04-27-2010, 04:44 PM   #4 (permalink)
Lost in a sea of code
 
BostonMerlin's Avatar
 
Join Date: Apr 2008
Location: Boston
Posts: 399
BostonMerlin is an unknown quantity at this point
Default

Quote:
Originally Posted by Island Jim View Post
This sounds straight forward, thanks for the tip. Are there some apps that you could point me to that might showcase this feature. I would love to see how others may have implemented it.

Thanks,

Jim
You might take a look at any of the topographic maps on the app store. most are using custom image/map tiles to generate custom maps.

Hope that helps
John
__________________
----------------------------------------------------------------------
I love being a dad, flying airplanes and writing code.
----------------------------------------------------------------------
Follow me on Twitter: @BostonMerlin
Feed your brain on Twitter: @iPhoneDev101
----------------------------------------------------------------------
iPhone Apps:
BostonMerlin is offline   Reply With Quote
Old 08-09-2010, 02:52 AM   #5 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 1
mumf83 is on a distinguished road
Default

I have a project very similar by having a custom map and I need to use the iPhones GPS to find out where the user is.

I'm a bit confused on how to find the boundaries of the area? Will I have to record every lat/long coordinate with in the area, or is this all handled when you find the boundaries? How would I find the coordinates of the boundary in the first place? Also, what API would handle this, so I can add pins and locate where the user is currently?

Any pointers would be greatly appreciated.
mumf83 is offline   Reply With Quote
Reply

Bookmarks

Tags
maps

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 315
6 members and 309 guests
chemistry, heshiming, iAppDeveloper, jbro, kapps11, SLIC
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,648
Threads: 94,112
Posts: 402,872
Top Poster: BrianSlick (7,990)
Welcome to our newest member, brandon6031
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 07:21 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0