Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6831] iOS: Function to get the current latitudeDelta and longitudeDelta from a MapView

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2011-12-29T10:07:33.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sSprint 2011-52, Release 2.0.0, Release 1.8.1
ComponentsiOS
Labelsparity
ReporterMauro Parra-Miranda
AssigneeVishal Duggal
Created2011-12-21T15:05:44.000+0000
Updated2014-06-19T12:43:07.000+0000

Description

PROBLEM DESCRIPTION

Customer wants to be able to regenerate a map centered in a given location, but drawing the region with the same level of zoom that the user is using right now.

STEPS TO REPRODUCE

1. Create a mapview centered in the whitehouse 2. Zoom the map 3. The user provided another point to center in the map. 4. Before the redraw, they need to know the current latitudeDelta and longitudeDelta after the zoom.

Comments

  1. Stephen Tramer 2011-12-22

    This ticket should be resolved by creating Ti.Map.View.longitudeDelta and Ti.Map.View.latitudeDelta properties. Cloning a dupe for Android parity.
  2. Stephen Tramer 2011-12-22

    TESTING

    ---- We updated KS Base UI->Views->Map View to include a sanity check for these properties matching the event's latitude and longitude values. Check log output when changing a region to ensure that the log information looks correct and there are no warnings about a possible mismatch.
  3. Stephen Tramer 2011-12-28

    Bumping into this sprint since PR requires some modifications.
  4. Wilson Luu 2012-02-10

    Closing bug. Verified feature behaved as expected on: SDK build: 1.9.0.v20120210130135 Titanium Studio, build: 1.0.8.201201262211 xcode: 4.2 Device: iPhone 4S Sprint (5.0.1)

JSON Source