Skip to content
jaakla edited this page Mar 28, 2015 · 5 revisions

2.4.2 - Released 26.03.15

  • Fixed Layer.isInVisibleZoomRange not working causing layer visible zoom range to be ignored in some cases
  • Fixed texts and markers not appearing on screen when added to QuadTreeVectorDataSource while having base element attached
  • Added padding support for text background images
  • Fixed alignment issues with texts when both text background and icon were specified
  • Fixed enterprise license usage if MapView is created with code

Known issue:

  • On certain rare cases map flickering can happen. Known conditions: Android 4.4, device: Samsung Tab 4 10.1 (and some others), Android build-tool versions 20.*, 21.*, up to 22.0.1. Workaround: use older Android build-tools, e.g. 19 instead of newest ones to build your app. It seems to be a bug in Android build-tools and/or certain Android device specific implementations.

2.4.1 - Released 23.12.14

  • Fixes related to latest Android tools and versions
  • Memory leak stability fix

2.4.0 - Released 29.09.14

  • Many fixes, optimizations and improvements

New features:

  • OSM license icon has changed - instead of a big OSM logo, a smaller Nutiteq logo and OSM attribution text is displayed
  • Watermarks are made smaller on big low-dpi screens, so they cover smaller screen area
  • Polygon triangulation library has been replaced with Java OpenGL tesselation library. This is more robust and faster than the libraries used in pre 2.4 versions.
  • Geometry rendering performance is improved and memory usage is lowered
  • DynamicMarker class meaning has changed - it can be configured to be draggable on the map. New methods isDraggable, setDraggable, setDragListener have been added to the class. New interface MarkerDragListener is added
  • BillBoards now can be configured with base polygon element (previously only base points or base lines were supported)
  • Line capping is now supported, via LineStyle.setLineCapMode. Three Line cap rendering modes are currently supported
  • Texts may include optional background image or icon (TextStyle.setBackgroundBitmap/setIconBitmap)
  • Text stroke width and color can be defined via TextStyle.setStrokeColor/setStrokeWidth
  • Texts attached to curved line geometry now follow the curve
  • Added BillBoardStyle.setOrientationFlip method, markers can be optionally flipped when turned backwards
  • Labels can be attached to texts (additional Text constructors), texts can be made clickable (TextStyle.setPickingMode)
  • OpenGL configuration can be now customized using MapView.setEGLConfigChooser
  • RenderProjection class has getTransform method and RenderProjection.Transform interface for optimized coordinate transformations
  • New MapTouchListener callback interface + Options.addMapTouchListener/removeMapTouchListener classes
  • Vector layer culling improvements, visible envelope is overestimated uniformly along both x/y screen directions
  • Text layer fading is improved, texts are now faded out as well as in
  • Added MapView.getSelectedVectorElement to get selected vector element
  • A new base class for all tiled layers is introduced (TileLayer)

Most deprecated classes/methods are removed:

  • Deprecated classes TMSMapLayer, PackagedMapLayer, StoredMapLayer are removed
  • Deprecated class com.nutiteq.db.DBLayer is removed
  • Deprecated method MapView.screenToWorld(double x, double y, float frac) is removed
  • Internal methods MapView.requestScreenCapture, MapView.getScreenCapture are removed (as well as MapRenderer.requestScreenCapture, getScreenCapture)
  • Deprecated methods MutableMapPos.add/subtract are removed
  • Deprecated methods MutableVector.crossProduct/dotProduct/multiply/add/subtract/getLength*/normalize* are removed
  • Deprecated versions of NMLModel.setScale/setRotation have been removed
  • Internal method VectorElement.updateInternalState is removed
  • Deprecated method Layer.setProjection is removed
  • Deprecated method Layers.setReadLock is removed
  • Deprecated classes CacheFetchTileTask, ExtFetchTileTask, IntFetchTileTask, NetFetchTileTask are removed
Clone this wiki locally