Skip to content

Releases: moagrius/TileView

v1.0.8: removed optimization during onLayout

25 Dec 21:29
Compare
Choose a tag to compare
optimization in onLayout led to edge-cases where viewport was not
updated when changing zoom or position programmatically - this commit
should patch those instances.

support custom path drawing

21 Nov 20:37
Compare
Choose a tag to compare

This release defers path drawing to the DrawablePath instance's drawPath method - override that method for custom path implementations. thanks @corsc

fixed smoothScaleTo

30 Oct 20:23
Compare
Choose a tag to compare
fixed smoothScaleTo bug

this method should now work properly when called from outside the widget

pinch and drag threshold signatures added; minor bug fixes

30 Oct 19:46
Compare
Choose a tag to compare

This release adds 4 new signatures, getter/setters for pinch and drag start thresholds (pixel values that must be met by user interaction before UI operations begin). The last commit by @onder7973 had these as constant values - this commit updates them to private members with getter/setters. Also included is a patch to end fling operations when a drag operation starts (thanks @redred77), and a patch to fix a bug with canvas.quickReject and hardware accelerated views (thanks @onder7973).

This release should be production-ready (build status passing), but could use further testing.

v1.0.4: minor bug fixes; formatting

10 Oct 23:53
Compare
Choose a tag to compare

this release includes the new TileSetSelector functionality, allowing custom behavior to determine which tile set is selected (based on scale). also, minor bug fixes; formatting fixed smoothScaleTo bug courtesy @corsc; fixed onLayout fast-fail that was preventing dynamic markers from qualifying for MarkerTapEvents courtesy @skaor; updated formatting and convention to match existing pattern

v1.0.3: fixed double-tap zoom scale limit bug

10 Sep 17:21
Compare
Choose a tag to compare
was capping double-tap destination scale at 1.0; this patch correctly
sets the cap at maxScale

Updated slideTo... methods for certain devices

01 Sep 00:53
Compare
Choose a tag to compare
updating slideTo... methods

some devices require invalidate to be called immediately following a
scroller.startScroll *and* in computeScroll.

Positioning bug fixes

31 Aug 04:47
Compare
Choose a tag to compare
fixed positioning and scaling issues

positioning methods need explicit scaling;
runtime scaling (not due to gestures) could cause View to scroll beyond
visible limits - added constraint in layout pass to prevent this

First production release

31 Aug 01:58
Compare
Choose a tag to compare
various updates

addMarker now requests layout pass to update marker map rects (to fix
runtime addMarker bug)
resetDetailLevel now updates tile set to prevent false matches
added .pause() sugar method (mirrors .clear())
added .refresh() method (reevaluates tile set, tiles, samples, etc)