Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23278] Windows: Ti.Map does not use the region when specified on Windows 10

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2016-05-09T19:07:42.000+0000
Affected Version/sRelease 5.3.0
Fix Version/sRelease 5.3.0
ComponentsWindows
Labelsqe-5.3.0
ReporterJosh Longton
AssigneeChristopher Williams
Created2016-04-26T21:36:45.000+0000
Updated2016-05-09T22:01:20.000+0000

Description

Windows 10 does not use region where as Windows 8.1 does *App.js*
var win = Ti.UI.createWindow(),
    view = Ti.Map.createView({
        mapType: Titanium.Map.NORMAL_TYPE,
        region: {latitude:53.645792, longitude:-1.785035}
    });
win.add(view);
win.open();
*tiapp.xml*
<windows>            
	<mapservicetoken>*Insert Token Here*</mapservicetoken>
</windows>
*Steps to reproduce:*

Use the app.js above and insert the map token in the tiapp.xml

Run the application

*Actual :* Windows 10 mobile does not use the region values. *Expected:* The same results as Windows 8.1.

Comments

  1. Christopher Williams 2016-05-09

    https://github.com/appcelerator/titanium_mobile_windows/pull/678
  2. Christopher Williams 2016-05-09

    Merged to 5_3_X, cherry-picked to master.
  3. Josh Longton 2016-05-09

    Verified as fixed Tested on: Microsoft Lumia 640 (10) Windows Simulator (10) Windows 10 Studio: 4.6.0.201605030516 Ti SDK: 5.3.0.v20160509143032 Appc NPM: 4.2.5-5 App CLI: 5.3.0-44 Node v4.4.3 *Closing Ticket.*

JSON Source