Discussion Forums  >  Uncategorized

Replies: 5    Views: 296

basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
06/02/11 02:46 PM (14 years ago)

best way to add a list of locations with phone/link to directions map/etc? (iOS) b143

I have a list of around 50 locations. Each needs an address, phone, fax, details and a link that opens up their location in the iOS default map app to give you directions to that location from your current location. What's the best & easiest way to do this? Any recommendations?
 
TheHoogler
I hate code!
Profile
Posts: 152
Reg: Feb 10, 2011
Anchorage, AK
1,520
like
06/02/11 06:03 PM (14 years ago)
I would think making an html page would be best. Links within the html page could link directly to phone call and google maps.
 
peter
I hate code!
Profile
Posts: 95
Reg: Jan 21, 2011
netherlands
1,250
like
06/03/11 05:19 AM (14 years ago)
I am doing about the same in my app. I have more than 300 locations, with address, details etc. I create the map first, with pins on the map for all locations. When clicking on a pin, I open a webpage with all details of the location. Because the webpage has also the location data, a click on the link will give you a map again. So you have 2 ways of using the data. One: Start with a locations map, and click to details page Two: Start with Details webpage, and click to location map. The location map is created by using the DataURL option in BT. Makes sense? More details on request ;-)
 
basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
like
06/03/11 06:05 AM (14 years ago)
when you say the web page has location data, do you mean just the address, or some code linking it to the map? Some of the addresses I used I had to remove things like unit #2 etc from the address before the BT map thing would find it, but I would need those to be there on the webpage.
 
peter
I hate code!
Profile
Posts: 95
Reg: Jan 21, 2011
netherlands
1,250
like
06/03/11 06:10 AM (14 years ago)
Just basic html, a href link to googlemaps with GPS coordinates. Example: <a href=http://maps.google.com/maps?q=42.331685,-83.047924>COBO Center, Detroit, MI US </a>
 
basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
like
06/03/11 06:18 AM (14 years ago)
ahhh gotcha! Thanks
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.