Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2181] Modules.Map.View.getRegion does not return the current map region

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNeeds more info
Resolution Date2013-10-18T20:29:29.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAppcelerator Modules, Titanium SDK & CLI
Labelsandroid, mapView
ReporterMark Burggraf
AssigneeShak Hossain
Created2013-10-10T21:35:02.000+0000
Updated2016-03-08T07:41:10.000+0000

Description

See: https://developer.appcelerator.com/question/157224/problem-getregion-google-map-api-v2-on-android When calling getRegion on a Modules.Map.View under Android, it always returns the original map region, even after the user has scrolled or resized the map.

Comments

  1. Jamie Buckley 2013-10-13

    Hi Mark, Can you provide a self contained code sample so that we can work on reproducing this issue. Also which android version was this tested on?
  2. Mauro Parra-Miranda 2013-10-18

    Please provide a testcase.
  3. Mark Burggraf 2013-10-18

    There's an example in the link I provided. I tested under Android 4.3 on a Google Nexus 7 tablet.
  4. Mauro Parra-Miranda 2013-10-18

    Mark, that's not a testcase. You need a self contained testcase: something you can copy-paste into app.js. Best, Mauro
  5. Mark Burggraf 2013-10-18

    I don't have the time to write a test case for it. It's a bug either way, reported by others and confirmed by me. If you want to close this, that's fine, but a bug is a bug.
  6. Mostafizur Rahman 2014-01-02

    Hello, I tested this this issue with [the code| https://gist.github.com/csemrm/8224421]. I can’t reproduce this issue. Please check this code with the latest TiSDK Build and let me know if this problem persists.

    Test Environment

    Mac OS X 10.8.5 Ti SDK 3.2.0.GA Ti CLI 3.2.0 Android 2.3.3

    Test Code

    https://gist.github.com/csemrm/8224421

JSON Source