Advice on a geolocation app idea

Discussion in 'iOS Programming' started by t0mat0, Aug 6, 2009.

  1. t0mat0 macrumors 603

    t0mat0

    Joined:
    Aug 29, 2006
    Location:
    Home
    #1
    Hello - I'm looking to find out more about what it would take to create an application similar to WatchOut or Offender Locator or Cannabis. Not the content at all -

    I'm wondering about creating an application, that can give a list of events (recurring and one off) nearby to a current location, or the user's location as by GPS, then have associated information to each event.

    If I had a database of locations (lat longs, and addresses and relevant information) - how easy would it be to show the events on a map with pins, or on a sorted table of addresses with those closest at the top?

    What general areas should I look into if I was wanting to find out more about how to code for a visual map version showing pins for each event and the given addresss/location of the iPhone? Seems there are other apps out there doing a similar thing.
    Would it be possible to have a conditional list of pins, so the user could choose only those relevant for a given time period too? 9e.g. upcoming, today, this week etc)
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    MapKit

    Basically everything you want to do is possible by providing MapKit with the correct data.
     
  3. t0mat0 thread starter macrumors 603

    t0mat0

    Joined:
    Aug 29, 2006
    Location:
    Home
    #3
    OK, thanks :)

    DO you know of any demo code showing how a simple mapkit app might look like? And is there any hard limit on what number of (mkannotations) points can be tracked or held in a database? I'm guessing it wouldn't take too much space to have the database held within the app and updated at some interval. Looking at the pragmatic programming screencast it seems there's a lot you can do with it.
     
  4. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #4
    The database is up to you: it's nothing to do with MapKit. Certainly a SQLite database could store many thousands of locations without any issue at all. As for example code I'd search on the Apple developer site yourself and see what you can find. Or use Google. For example this took all of 2 seconds to find.
     

Share This Page