Releases: moagrius/TileView
v1.0.8: removed optimization during onLayout
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
This release defers path drawing to the DrawablePath instance's drawPath method - override that method for custom path implementations. thanks @corsc
fixed smoothScaleTo
fixed smoothScaleTo bug this method should now work properly when called from outside the widget
pinch and drag threshold signatures added; minor bug fixes
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
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
was capping double-tap destination scale at 1.0; this patch correctly sets the cap at maxScale
Updated slideTo... methods for certain devices
updating slideTo... methods some devices require invalidate to be called immediately following a scroller.startScroll *and* in computeScroll.
Positioning bug fixes
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
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)