Android SDK Public Release Change log from 3.2.0 to 3.3.0

Change Log

New features

  • Added option for copy-pasting the downloaded/preinstalled map packages instead of moving them
    If you want to move the files the parameter needs to be set with true value.
  • Added onLibraryAlreadyInitialized() callback method to SKMapsInitializationListener

Improvements

  • Added option north up for 3D mode

Bug fixes

  • OSM and company attributes didn't work properly, when you hide either attribution before calling setAttributionLayout
  • GPX or via points used to create a route are setting start end destination coordinates on the wrong street, ignoring the actual given coordinates.
  • Crash while using calculateRouteWithPoints method in SKRouteManager class.
  • Route calculation was slower on Android with firmware 9
  • The annotation's minimum zoom level and minimum tap zoom level
    The annotation's minimum zoom level and minimum tap zoom level
  • Callout view didn't work properly, when you used it with a default view (without custom view). In this case the textClickListener didn't work without a defined right image.

Added Packages

com.skobbler.ngx.versioning.listeners


Changed Packages

  • com.skobbler.ngx
  • com.skobbler.ngx.cache
  • com.skobbler.ngx.map
  • com.skobbler.ngx.map.realreach
  • com.skobbler.ngx.map.worldlayer
  • com.skobbler.ngx.navigation
  • com.skobbler.ngx.packages
  • com.skobbler.ngx.poitracker
  • com.skobbler.ngx.positioner
  • com.skobbler.ngx.positioner.logging
  • com.skobbler.ngx.reversegeocode
  • com.skobbler.ngx.routing
  • com.skobbler.ngx.search
  • com.skobbler.ngx.tile
  • com.skobbler.ngx.tracks
  • com.skobbler.ngx.trail
  • com.skobbler.ngx.util
  • com.skobbler.ngx.versioning

Package com.skobbler.ngx

Removed Classes

SKMaps.SKDistanceUnitType // Distance unit type enum.
SKMaps.SKLanguage // Stores possible values for languages supported by the SDK.
SKMapsPathsNotInitializedException // Thrown to indicate that the application has attempted to initialize SKMaps library, calling SKMaps.initializeSKMaps(android.content.Context, SKMapsInitSettings, String) without setting the paths before.

Changed Classes and Interfaces

Config // Contains the properties for the build
SKMaps // SKMaps provides support for general settings and management that concerns the whole SKMaps SDK.
SKMapsInitializationListener // Listener for the event of the library initialization.

Class com.skobbler.ngx.Config

Removed Constructors

Config()

Class com.skobbler.ngx.SKMaps

Added Methods

boolean isUpdateToLatestSDKVersion()
void setCurrentAppContext(Context)
void setMapInitSettings(SKMapsInitSettings)
void setUpdateToLatestSDKVersion(boolean)

Removed Fields

boolean updateToLatestSDKVersion // Default value is false.

Added Fields

String ANDROID

Interface com.skobbler.ngx.SKMapsInitializationListener

Added Methods

void onLibraryAlreadyInitialized() //Notifies the user if library already initialized. 

Package com.skobbler.ngx.map

Changed Classes

SKAnnotation // Stores information about an annotation
SKMapInternationalizationSettings // SKMapInternationalizationSettings stores information about the maps labeling language.
SKMapPOI // Stores information about a map POI.
SKMapScaleView // SKMapView's scale view.
SKMapSurfaceView // Class that constructs a map surface view.
SKMapViewHolder // Class that holds the map surface view and other helper views.

Class com.skobbler.ngx.map.SKAnnotation

Removed Methods

int getMininumZoomLevel() // Returns the minimum zoom level where the annotation will be visible.
void setMininumZoomLevel(int) // Sets the minimum zoom level where the annotation will be visible. 

Added Methods

int getMinimumZoomLevel() // Returns the minimum zoom level where the annotation will be visible.
void setMinimumZoomLevel(int) // Sets the minimum zoom level where the annotation will be visible. 

Class com.skobbler.ngx.map.SKMapInternationalizationSettings

Changed Methods

SKLanguage getFallbackLanguage()  // Change in return type from com.skobbler.ngx.SKMaps.SKLanguage to SKLanguage. Gets the fallback language.
SKLanguage getPrimaryLanguage()  // Change in return type from com.skobbler.ngx.SKMaps.SKLanguage to SKLanguage.	Gets the primary language. 
void setFallbackLanguage(SKLanguage)  // Change in signature from com.skobbler.ngx.SKMaps.SKLanguage to SKLanguage.	Sets the fallback language.This option will be applied if the primary language is not available for a map element.
void setPrimaryLanguage(SKLanguage)  // Change in signature from com.skobbler.ngx.SKMaps.SKLanguage to SKLanguage.	Sets the primary language.

Class com.skobbler.ngx.map.SKMapPOI

Removed Constructors

SKMapPOI(int, String, SKCoordinate,ArrayList)  // Creates a SKMapPOI 

Added Constructors

SKMapPOI(int, String, SKCoordinate,List)  // Creates a SKMapPOI 

Class com.skobbler.ngx.map.SKMapScaleView

Changed Methods

void setDistanceUnit(SKDistanceUnitType)  // Change in signature from com.skobbler.ngx.SKMaps.SKDistanceUnitType to SKDistanceUnitType. Sets the distance unit that applies to the scale. 

Class com.skobbler.ngx.map.SKMapSurfaceView

Added Methods

boolean isMapVisible()
void setMapVisible(boolean)

Removed Fields

byte DEFAULT_ZOOM_LEVEL  // The default zoom level
byte MAXIMUM_ZOOM_LEVEL // Maximum zoom level
byte MINIMUM_ZOOM_LEVEL // The minimum map zoom level
boolean mapVisible // Default value is true.

Class com.skobbler.ngx.map.SKMapViewHolder

Changed Constructors

SKMapViewHolder(Context) 
SKMapViewHolder(Context, AttributeSet) 

Package com.skobbler.ngx.navigation

Changed Classes and Interfaces

SKNavigationSettings // SKNavigationSettings defines settings for turn by turn navigation.
SKNavigationState // Class used in navigation for updating the route state.

Class com.skobbler.ngx.navigation.SKNavigationSettings

Changed Methods

SKDistanceUnitType getDistanceUnit() // Change in return type from com.skobbler.ngx.SKMaps.SKDistanceUnitType to SKDistanceUnitType. Returns the distance unit used.
void setDistanceUnit(SKDistanceUnitType) // Change in signature from com.skobbler.ngx.SKMaps.SKDistanceUnitType to SKDistanceUnitType. Sets the new distance unit.

Class com.skobbler.ngx.navigation.SKNavigationState

Changed Methods

List<SKViaPointInfo> getViaPointsInfo() // Change in return type from ArrayList<SKViaPointInfo> to List<SKViaPointInfo>.	Gets the via points information
void setViaPointsInfo(List<SKViaPointInfo>) // Change in signature from ArrayList<SKViaPointInfo> to List<SKViaPointInfo>. Set the via points information

Package com.skobbler.ngx.poitracker

Changed Classes and Interfaces

SKPOITrackerManager // Class that manages the POIs tracking

Class com.skobbler.ngx.poitracker.SKPOITrackerManager

Changed Methods

List<SKTrackablePOI> getTrackablePOIsOnRoute(Map<Integer,SKTrackablePOI>) // Change in signature from (SKPosition, Map<Integer, SKTrackablePOI>) to (Map<Integer, SKTrackablePOI>). Returns the list of POIs located on the current route, from the given array.

Package com.skobbler.ngx.routing

Changed Classes and Interfaces

SKExtendedRoutePosition // Enhanced position class that contains extended route information about a position.
SKRouteInfo // Class that holds information about a computed route.
SKRouteManager // Class which handles routing methods. 

Class com.skobbler.ngx.routing.SKExtendedRoutePosition

Changed Methods

boolean equals(Object) // Method was inherited from SKPosition, but is now defined locally.
int hashCode() // Method was inherited from SKPosition, but is now defined locally.

Class com.skobbler.ngx.routing.SKRouteInfo

Changed Methods

List<SKViaPointInfo> getViaPointsInfo() // Change in return type from ArrayList<SKViaPointInfo> to List<SKViaPointInfo>.	Returns via points information: uniqueId, ETA, DTD
void setViaPointsInfo(List<SKViaPointInfo>) // Change in signature from ArrayList<SKViaPointInfo>to List<SKViaPointInfo>.

Class com.skobbler.ngx.routing.SKRouteManager

Changed Methods

List<SKRouteAdvice> getAdviceListForRouteByUniqueId(int,SKDistanceUnitType) // Change in signature from (int, com.skobbler.ngx.SKMaps.SKDistanceUnitType) to (int, SKDistanceUnitType).	Returns the list of advice for current route.

Package com.skobbler.ngx.search

Changed Classes and Interfaces

SKAddressSearchSettings	Stores input parameters for a multiline address search.
SKMultiStepSearchSettings // Stores input parameters for a step by step search.
SKNearbySearchSettings	// Stores input parameters for a nearby search.
SKOnelineSearchSettings	 // Stores input parameters for a oneline address search.

Class com.skobbler.ngx.search.SKAddressSearchSettings

Changed Constructors

SKAddressSearchSettings(String, String,String, String, String, SKSearchMode,int) // Creates an input object for address search.
SKAddressSearchSettings(String, String,String, String, String, int) // Creates an input object for address search.

Changed Methods

SKLanguage getSearchLanguage() // Change in return type from com.skobbler.ngx.SKMaps.SKLanguage to SKLanguage.	Returns the language in which the search results are returned.
void setSearchLanguage(SKLanguage) // Change in signature from com.skobbler.ngx.SKMaps.SKLanguage to SKLanguage.	Sets the language in which the search results are returned.

Class com.skobbler.ngx.search.SKMultiStepSearchSettings

Changed Methods

SKLanguage getSearchLanguage() // Change in return type from com.skobbler.ngx.SKMaps.SKLanguage to SKLanguage. Returns the language in which the search results are returned.
void setSearchLanguage(SKLanguage) //Change in signature from com.skobbler.ngx.SKMaps.SKLanguage to SKLanguage.	Sets the language in which the search results are returned.

Class com.skobbler.ngx.search.SKNearbySearchSettings

Changed Methods

SKLanguage getSearchLanguage() // Change in return type from com.skobbler.ngx.SKMaps.SKLanguage to SKLanguage. Returns the language in which the search results are returned.
void setSearchLanguage(SKLanguage) // Change in signature from com.skobbler.ngx.SKMaps.SKLanguage to SKLanguage. Sets the language in which the search results are returned.

Class com.skobbler.ngx.search.SKOnelineSearchSettings

Changed Methods

SKLanguage getSearchLanguage() // Change in return type from com.skobbler.ngx.SKMaps.SKLanguage to SKLanguage. Returns the language in which the search results are returned.
void setCountryCode(String) // Sets the country code for the address search.
void setSearchLanguage(SKLanguage) // Change in signature from com.skobbler.ngx.SKMaps.SKLanguage to SKLanguage. Sets the language in which the search results are returned.

Package com.skobbler.ngx.tile

Changed Classes and Interfaces

SKTileManager // Class that handles tile operations.

Class com.skobbler.ngx.tile.SKTileManager

Changed Methods

List<String> getTilesInBoundingBox(SKTileType,int, int, int, int, SKOperationType, int,byte) // Change in signature from (int, int, int, int, int, SKOperationType, int, byte) to (SKTileType, int, int, int, int, SKOperationType, int, byte). Retrieves tiles of a specific type from a given bounding box

Package com.skobbler.ngx.util

Changed Classes

Constants // Constants class for the SKMaps framework
SKGeoUtils // Class used for computing utils
SKLogging // This class is used to show logs or not.

Class com.skobbler.ngx.util.Constants

Removed Constructors

Constants()

Removed Fields

double epsilon

Added Fields

String CAMERA_SETTINGS	 
String CAMERA_SETTINGS_CENTER	 
String CAMERA_SETTINGS_DISTANCE	 
String CAMERA_SETTINGS_TILT	 
String CITY_POIS_SHOWN	 
String COMPASS_POSITION	 
String COMPASS_SHOWN	 
String CPU_PATH	 
String CURRENT_POSITION_SHOWN	 
byte DEFAULT_ZOOM_LEVEL // The default zoom level
String DRAWING_ORDER	 
double EPSILON	 
String FOLLOW_POSITIONS	 
String FRAME_RATE	 
String GENERATED_POIS_SHOWN	 
String HEADING_MODE	 
String HOUSE_NUMBERS_SHOWN	 
String IMPORTANT_POIS_SHOWN	 
String INERTIA_PANNING_ENABLED	 
String INERTIA_ROTATING_ENABLED	 
String INERTIA_ZOOMING_ENABLED	 
String IS_TERRAIN_DISABLED_IF_NO_ELEVATION	 
String IS_TERRAIN_ENABLED	 
String MAP_DISPLAY_MODE	 
String MAP_INTERNATIONALIZATION	 
String MAP_PANNING_ENABLED	 
String MAP_POI_ICONS	 
String MAP_ROTATION_ENABLED	 
String MAP_STYLE	 
String MAP_ZOOMING_ENABLED	 
byte MAXIMUM_ZOOM_LEVEL	// Maximum zoom level
float MAX_LATITUDE	 
float MAX_LONGITUDE	 
byte MINIMUM_ZOOM_LEVEL	// The minimum map zoom level
float MIN_LATITUDE	 
float MIN_LONGITUDE	 
String ONE_WAY_ARROWS	 
String ORIENTATION_INDICATOR_TYPE	 
String SHOW_BICYCLE_LANES	 
String STREET_NAME_POPUPS_SHOWN	 
String TRAFFIC_MODE	 
String TRAIL_SETTINGS	 
String ZOOM_LIMITS	 
String ZOOM_WITH_ANCHOR_ENABLED

Class com.skobbler.ngx.util.SKGeoUtils

Changed Methods

int getSpeedByUnit(double, SKDistanceUnitType) // Change in signature from (double, com.skobbler.ngx.SKMaps.SKDistanceUnitType) to (double, SKDistanceUnitType).	Method used to convert speed from m/s into km/h or mi/h (according to the distance unit set from Setting option)

Class com.skobbler.ngx.util.SKLogging

Removed Methods

void writeLog(String, String, int) // If the application is set to show logs we show logs depending on the messageType
void writeLogsToFile(String) // Enables writing the logs in a file.

Added Methods

void decryptFile(String, String, String,String) // Used to decrypt a file based on the key provided
void initLoggingToFile(String, String,String) // Enables writing the logs in a file.
void writeLog(String, Exception, byte) // If the application is set to show logs we show logs depending on the messageType
void writeLog(String, String, byte) // If the application is set to show logs we show logs depending on the messageType
void writeLog(String, String, Exception,byte) // If the application is set to show logs we show logs depending on the messageType

Package com.skobbler.ngx.versioning

Removed Classes and Interfaces

SKLibraryVersioning	 
SKLibraryVersioningManager	 
SKMapVersioningListener // The SKMapUpdateListener is used to receive callbacks related to map versioning.
SKMetaDataListener // Listener for meta data callback.

Changed Classes

SKVersionInformation // Class for keeping map versioning information
SKVersioningManager // Handles operations related to map versions.

Class com.skobbler.ngx.versioning.SKVersionInformation

Added Methods

boolean equals(Object)	 
int hashCode()

Class com.skobbler.ngx.versioning.SKVersioningManager

Removed Methods

SKVersionInformation[] getRemoteMapVersionArray() // Return an array of available map version on the server.
void setMapUpdateListener(SKMapVersioningListener) // Sets the update listener. 

Added Methods

SKMapVersioningListener getMapVersioningListener()
SKMetaDataListener getMetaDataListener()
List<SKVersionInformation> getRemoteMapVersionList()
void setMapVersioningListener(SKMapVersioningListener)

Changed Methods

void setMetaDataListener(SKMetaDataListener) // Change in signature from com.skobbler.ngx.versioning.SKMetaDataListener to com.skobbler.ngx.versioning.listeners.SKMetaDataListener.