Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 5    Views: 112

AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
07/13/15 07:18 AM (9 years ago)

Location Map Driving Directions Fix - Apple

I'm kicking an app idea today, trying out the Location Map, which I last played with a year or so. My iPhone 5 (running IOS 8.3) pulls up the maps OK, shows my location and goes into driving directions, which is enabled. It offers to open the native maps application as expected when I click the 'i' button. So far so good. The problem is that the map start field is not using my location. It is blank. If I enter my address (there is a drop down list available), the map app objects, saying cannot provide directions to and from the same location. I remember a bug a couple of years ago where the start and end addresses were reversed somewhere - this may be similar? I'm pretty sure it is using apple maps.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
07/13/15 10:02 AM (9 years ago)
I think I have the code in my spot finder plugin
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
07/13/15 10:44 AM (9 years ago)
I'll try and check it out. I'm beginning to find I can read some code, albeit very slowly lol. The location plug-in used to work OK, something happened recently - might whatever happened have affected Spot finder?
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
07/13/15 04:06 PM (9 years ago)
https://www.buzztouch.com/forum/thread.php?tid=4175A4651369824B6743BA4&fid=06DB0BCB08E2222&sortColumn=FT.id&sortUpDown=DESC&currentPage=1 For testing, after you enter the address (Because it will overwrite it) enter geocoordinates, and it'll work ok. Out here, street addresses mean nothing; geocoordinates mean everything. Cheers! -- Smug
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
07/14/15 01:15 AM (9 years ago)
So, to bring this up to date, it seems that what is absolutely necessary is to implement the permission requirements from iOS 8 onwards https://dl.dropboxusercontent.com/u/115208762/iOS8LocFix.pdf
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
07/14/15 04:37 AM (9 years ago)
It's also worth mentioning that the behaviour for a map appears to be different between a phone with iOS 8, which seems to pass device location and destination to the map and iOS 9, which doesn't identify the device location to the map.
 

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.