Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10927] iOS6: Feature to open iOS6 maps app on using "Get Directions"

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 2.1.3
Fix Version/sn/a
ComponentsiOS
Labels2019-cl, SupportTeam, api
ReporterVarun Joshi
AssigneeUnknown
Created2012-09-14T17:35:43.000+0000
Updated2019-03-04T21:59:14.000+0000

Description

Issue

Currently, in Ti SDK, if we use "get directions", the application opens up google maps web interface. It is requested to have the feature to open the native (Apple) maps application as was the case with iOS 5.1.1. Related native method: openMapsWithItems:launchOptions: or openInMapsWithLaunchOptions: method of MKMapItem

Comments

  1. Blain Hamon 2012-09-26

    Probably going to create this as a module, as there is no ties or relations to existing classes, and MKMapItem does not inherit from any of the other maps classes. Also, this moots parity issues because there's nothing similar in other OSes.
  2. Pedro Enrique 2012-10-12

    The way to do this in iOS 6 is as easy as always: iOS 5
       Ti.App.openUrl('https://maps.google.com/?q=1200+Pennsylvania+Ave+SE,+Washington,+District+of+Columbia,+20003');
       
    iOS 6
       Ti.App.openUrl('https://maps.apple.com/?q=1200+Pennsylvania+Ave+SE,+Washington,+District+of+Columbia,+20003');
       
  3. Blain Hamon 2012-10-24

    Talked with Pedro and with Ingo on this. Now that there's a workaround, the need has lowered and this no longer is required for 3.0. Moving back to backlog.
  4. Vishal Duggal 2012-11-05

    Workaround in comments. No longer any immediate requirement for this. TBS

JSON Source