Android SDK change log from version 2.5.0 to version 3.0.0

com.skobbler.ngx

Removed classes and interfaces


SKPrepareMapTextureListener
SKPrepareMapTextureThread

Added interfaces


SKMapsInitializationListener // listen for the event of the library initialization

Changed classes and interfaces


SKCoordinate(double longitude ,double latitude
changed to Changed classes and interfaces

SKCoordinate(double latitude ,double longitude)

SKMaps

Removed methods


void initializeSKMaps(Context,SKMapsInitSettings)

Added methods


void initializeSKMaps(Application, SKMapsInitializationListener) // initialize the SKMaps library
void initializeSKMaps(Application, SKMapsInitializationListener, SKMapsInitSettings) / initialize the SKMaps library with the provided settings
void onMapTexturesPrepared(boolean)

Added fileds


boolean  updateToLatestSDKVersion

SKMapsInitSettings

Removed methods


void setMapResourcesPaths(String, SKMapViewStyle)

Added methods


String getMapResourcesZipFileName()
void setMapResourcesZipFileName(String)

com.skobbler.ngx.map

Removed class


SKMapSettings.SKMapFollowerMode

Added classes and interfaces


SKMapSettings.SKHeadingMode

Mode Follow positions
SKHeadingMode.NONE false
SKHeadingMode.ROTATING_HEADING
In 2.5.1 POSITION
true
SKHeadingMode.HISTORIC_POSITIONS true
SKHeadingMode.ROTATING_MAP
In 2.5.1 POSITION_PLUS_HEADING
true
SKHeadingMode.ROUTE
In 2.5.1 - NAVIGATION* NONE_WITH_HEADING
true - Navigation
false - None with heading

* Follow positions - enables/ disables position following

String getImagePath()
SKMapsScreenCaptureListener // used for receiving updates when a new map screen capture is available.
SKMapScreenCaptureManager // class which handles rendering the map wtih the screen turned off. 

SKBoudingBox

Changed constructor


SKBoundingBox(double, double, double, double)
changed to

SKBoundingBox(SKCoordinate, SKCoordinate)

Removed methods


double getBottomRightLatitude()
double getBottomRightLongitude()
double getTopLeftLatitude()
double getTopLeftLongitude()
void setBottomRightLatitude(double)
void setBottomRightLongitude(double)
void setTopLeftLatitude(double)
void setTopLeftLongitude(double)

Added methods


SKCoordinate getBottomRight()
SKCoordinate getTopLeft()
void setBottomRight(SKCoordinate)
void setTopLeft(SKCoordinate)

SKMapPOI

Added methods:


SKAddress getAddress()
void setAddress(SKAddress)

SKMapSettings

Removed methods


SKMapFollowerMode getFollowerMode()
void setFollowerMode(SKMapFollowerMode)

Added methods


SKHeadingMode getHeadingMode()
SKTrailSettings getTrailSettings()
boolean isFollowPositions()
void setFollowPositions(boolean)
void setHeadingMode(SKHeadingMode)
void setTrailSettings(SKTrailSettings)

SKMapSurfaceView

Removed methods


void centerMapOnCurrentPosition()
void centerMapOnCurrentPositionSmooth(float, int)
void centerMapOnPosition(SKCoordinate)
void centerMapOnPositionSmooth(SKCoordinate, int)
SKMapFollowerMode getMapFollowerMode()
void rotateMapWithAngle(float)
void rotateMapWithAngleSmooth(float, int)
void rotateTheMapToNorth()
void rotateTheMapToNorthSmooth(int)
void setMapHeading(float, boolean)

Added methods


void animateToBearing(float, int)
void animateToLocation(SKCoordinate, int)
void centerOnCurrentPosition(float,boolean, int)
double[] gpsToMercator(SKCoordinate)
SKCoordinate mercatorToGps(double, double)
double[] mercatorToScreen(double, double)
double[] screenToMercator(SKScreenPoint)

Changed methods


void fitBoundingBox(SKBoundingBox,int, int, int, int) change in signature from (SKBoundingBox, int, int) to (SKBoundingBox, int, int, int, int)`

com.skobbler.ngx.navigation

SKNavigationSettings

Removed methods


SKTrailType getTrailType()
void setTrailType(SKTrailType)

Added methods


boolean isShowStreetNamesPopusOnRoute()
void setShowStreetNamesPopusOnRoute(boolean)

com.skobbler.ngx.poitracker

SKPoiTrackerManager

Changed methods - Change in signature from SKTrackablePOIType to int


boolean addWarningRulesforPoiType(int)
SKTrackablePOIRule getRuleForPOIType(int)
void setRuleForPOIType(int, SKTrackablePOIRule)
void setTrackedPOIs(int, List)

com.skobbler.ngx.positioner

SKPosition

Removed class:


Changed constructor from SKPosition(double longitude, double latitude, altitude) to SKPosition(double latitude, double longitude, double altitude)
Changed constructor from SKPosition(double longitude, double latitude) to SKPosition(double latitude, double longitude)

com.skobbler.ngx.routing

Added class


SKRouteRestrictions

SKRouteAdvice

Added methods


SKStreetType getCurrentStreetType()
void setCurrentStreetType(SKStreetType)

SKRouteAlternativesSettings

Removed methods


boolean isBicycleCarryAvoided()
boolean isBicycleWalkAvoided()
boolean isFerriesAvoided()
boolean isHighWaysAvoided()
boolean isTollRoadsAvoided()
void setBicycleCarryAvoided(boolean)
void setBicycleWalkAvoided(boolean)
void setFerriesAvoided(boolean)
void setHighWaysAvoided(boolean)
void setTollRoadsAvoided(boolean)

Added methods


SKRouteRestrictions getRouteRestrictions()
void setRouteMode(SKRouteMode)
void setRouteRestrictions(SKRouteRestrictions)

SKRouteInfo

Added methods


void setContainsFerryLines(boolean)
void setContainsHighWays(boolean)
void setContainsTollRoads(boolean)
void setMode(SKRouteMode)

Changed method


SKRouteMode getMode() change in return type from int to SKRouteMode

SKRouteManager

Removed methods


void enablePedestrianTrail(boolean, int)
List getAdviceList(int, SKDistanceUnitType)
SKAdvisorSettings getAudioAdvisorSettings()
List getCoordinatesForRoute(int)
List getExtendedRoutePointsForRoute(int)
int getNumberOfRoutes()
boolean setAudioAdvisorSettings(SKAdvisorSettings)
boolean setCurrentRoute(int)

Added methods


List getAdviceListForRouteByUniqueId(int,SKDistanceUnitType)
SKAdvisorSettings getAdvisorSettings()
List getCoordinatesForRouteByUniqueId(int)
List getExtendedRoutePointsForRouteByUniqueId(int)
int getNumberOfCalculatedRoutes()
boolean setAdvisorSettings(SKAdvisorSettings)

Changed methods


void zoomMapToCurrentRoute(int) -Change in signature from void to int.
void zoomToRoute(float, float, int, int, int, int, int)- Change in signature from (float, float, int, int, int, int) to (float, float, int, int, int, int, int)

SKRouteSettings

Removed methods


int getNoOfRoutes()
boolean isAvoidFerries()
boolean isBicycleCarryAvoided()
boolean isBicycleWalkAvoided()
boolean isCountryCodesReturned()
boolean isExtendedPointsReturned()
boolean isHighWaysAvoided()
boolean isTollRoadsAvoided()
void setAvoidFerries(boolean)
void setBicycleCarryAvoided(boolean)
void setBicycleWalkAvoided(boolean)
void setCountryCodesReturned(boolean)
void setExtendedPointsReturned(boolean)
void setHighWaysAvoided(boolean)
void setNoOfRoutes(int)
void setTollRoadsAvoided(boolean)

Added methods


int getMaximumReturnedRoutes()
SKRouteRestrictions getRouteRestrictions()
boolean isRequestCountryCodes()
boolean isRequestExtendedPoints()
void setMaximumReturnedRoutes(int)
void setRequestCountryCodes(boolean)
void setRequestExtendedPoints(boolean)
void setRouteRestrictions(SKRouteRestrictions)

SKViaPoint

Added constructor


SKViaPoint(int, boolean, int, int)

Added methods


SKMercatorCoordinate getMercatorPosition()
boolean isNotified()
void setMercatorPosition(SKMercatorCoordinate)
void setNotified(boolean)

com.skobbler.ngx.search

Added classes


SKAdress - this class stores addess data specific to a search result

SKSearchResult

Added methods


SKAddress getAddress()
void setAddress(SKAddress)

com.skobbler.ngx.trail

Removed classes


SKTrailType- class used for styling trails

Added classes


SKTrailSettings - class used for styling trails

SKTrailManager

Removed methods


void clearTrail()
SKTrailType getTrailType()
void setLogTrail(boolean)
void setShowTrail(boolean)
void setTrailType(SKTrailType)

com.skobbler.ngx.versioning

Removed interfaces


SKMapUpdateListener

Added interfaces


SKMapVersioningListener

SKVersioningManager

Changed methods


void setMapUpdateListener(SKMapVersioningListener) - change in signature from SKMapUpdateListener to SKMapVersioningListener