Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 3    Views: 87

MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
09/09/12 10:15 AM (13 years ago)

Maps Location

Hey, I have an app about castles and in each castle you have a few option including loading a map plugin with its location and driving directions via native app. How can I add the option of "finding castles near me"? I mean, an option where the apps looks for map location within the app and tells the user the nearest location(s). Thanks
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
09/09/12 11:51 AM (13 years ago)
This may help. It was a good discussion of this type of idea with some code samples too: http://www.buzztouch.com/forum/thread.php?tid=65181E4ADF97874B08E6D2B
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
09/09/12 03:02 PM (13 years ago)
Thank you. I'll check it out.
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
09/10/12 10:02 AM (13 years ago)
Hey, thanks, I've read it. It seams easy to do if I only want to show locations near me. As seen in the post, the hard thing is having it do something when you click a location. I added coordinates in the control panel, and then got the file with all in the info. It looks like this: {"childItems":[ {"itemId":"12A116B536651A81E89850E", "itemType":"BT_mapLocation","latitude":"38.70175", "longitude":"-7.4043", "title":"Castelo de Alandroal", "subTitle":"Castelo de Alandroal", "loadScreenWithItemId":"7D7217A4964BEB7ABFD25B3"}, etc..... I have no idea how to create or change the php file to read this info. 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.