mapsindoors_mapbox 4.6.1
mapsindoors_mapbox: ^4.6.1 copied to clipboard
A MapsIndoors flutter plugin using the Mapbox platform for Android and iOS app usage.
Changelog #
4.6.1 #
4.6.0 #
Added #
- Added support for Additional Details
- Added support for Nested Categories
Fixed #
- Fixed a number of build issues on both Android and iOS
Changed #
4.5.1 #
4.5.0 #
4.4.1 #
4.4.0 #
Fixed #
- Fixed a number of Typos
- Fixed an issue where attempting to fetch display rules by name using location ids not working on iOS
- Fixed an issue where setting a duration on a
CameraUpdatewould be ignored on iOS - Fixed an issue where setting a zoom value on a
CameraUpdatewould sometimes be ignored on iOS - Fixed a native crash on Android by updating the underlying Mapbox Maps version
Changed #
- Updated Mapsindoors SDKs:
- Android to 4.13.0
4.3.0 #
Added #
- Added
enableMapsIndoorsDebugLogging(bool)function to enable SDK logging to help with debugging.
4.2.4 #
4.2.2 #
4.2.1 #
4.2.0 #
Added #
- Support for positioning labels in more places by having
labelStylePositionadded to DisplayRules. With this attribute it is possible to decide where the label is placed in relation to the icon. Possible values are defined inMPLabelPositionasright,left,topandbottom. The label positioning can now be set in the MapsIndoors CMS.
Added #
- LabelPositioning on DisplayRules
- Elevated 2D Models
- 2D Models that are placed on Extrusions, will now be raised to be placed on top
- Clip Layer
- Extruded buildings and Trees from the MapBox standard style can now be removed, when inside venue's geometry.
- Does not remove landmarks consistently, will be solved with a future version of Mapbox
- Requires a module enabled. Contact MapsPeople to have it enabled
Fixed #
- Reenabled Mapbox Attribution as it no longer causes a crash when tapped (Android)
- Fixed issue causing compass to persist even when disabled (Android)
- getLocationsByExternalIds now can return more than a single Location in the list (as would be expected) (iOS)
- Fixed issue where some routes would be incorrect if the route was calculated while offline
- Fixed issue where moving beyond the venue could cause a crash due to the floor selector
Changed #
- Updated Mapsindoors SDKs:
- Android to 4.12.0
- iOS to 4.11.0
4.1.6 #
4.1.5 #
Fixed #
zoomLevelChangedcallback for custom floor selectors now gets called on iOS as well.
4.1.4 #
4.1.0 #
4.0.1 #
4.0.0 #
See the migration guide.
Added #
- Added
initialCameraPosition: MPCameraPositionto theMapWidgetconstructor. If set, the initial position of the camera will be moved to the givenMPCameraPosition.
Changed #
- Changed all uses of color
Stringsto usedart:uiColorinstead. - Updated Mapsindoors SDKs:
- Android to 4.9.0
- iOS to 4.7.0
Removed #
DirectionsServiceClearWayTypehas been removed, useClearAvoidWayTypeinstead.
3.1.3 #
3.1.2 #
Fixed #
- Fixed issue where camera events would not be propagated to the Flutter layer on iOS
- Fixed behavior where iOS would throw an error when
getLocationByIdcould not find a location, it now returns null like on Android - Fixed
setCollisionHandlingonMPSolutionConfigcausing a crash - Fixed
moveCamera/AnimateCamerafrom aMPCameraPositionwould not work on iOS
Changed #
- Updated Mapsindoors SDKs:
- Android to 4.8.11
3.1.1 #
Fixed #
- Fixed issue where camera events would not be propagated to the Flutter layer
- Fixed issue on iOS where setting a floor selector
- Fixed issue on Android where goTo MPLocation did not function properly
- Fixed tilt not being applied when moving the camera using a MPCameraUpdate on iOS
- Fixed blank screen on Android when not using MapsindoorsStyle
Changed #
- Updated Mapsindoors SDKs:
- iOS to 4.6.1
3.1.0 #
3.0.2 #
3.0.1 #
- No changes
3.0.0 #
Added #
- Added
setHighlightandclearHighlighttoMapControlWidgetwhich allows you to highlight a list of locations - Added new
MPCameraViewFitMode:none, which will disable automatic camera movement when changing legs - Added
addExcludeWayType,clearExcludeWayTypetoMPDirectionsServiceto allow the user to exclude specificMPHighways when querying for a route. - Added two new
MPSolutionDisplayRuleEnumsselectionandhighlightthat allows you to modify the look of highlighted and selected Locations. - Added support for Flat and Graphic labels, as well as 3D models
- Added new setters and getters to
MPDisplayRule:LabelStyleGraphicLabelTypeIconScaleIconPlacementPolygonLightnessFactorWallLightnessFactorExtrusionLightnessFactorLabelStyleTextSizeLabelStyleTextColorLabelStyleTextOpacityLabelStyleHaloOpacityLabelStyleHaloWidthLabelStyleHaloBlurLabelStyleBearingBadgeVisibileBadgeZoomFromBadgeZoomToBadgeRadiusBadgeStrokeWidthBadgeStrokeColorBadgeFillColorBadgePositionModel3DModelModel3DRotationXModel3DRotationYModel3DrotationZModel3DScaleModel3DZoomFromModel3DZoomToModel3DVisible
- Added functionality to hide specific features from the map
setHiddenFeaturesset a list ofMPFeatureTypeto be hidden from the mapgetHiddenFeaturesget a list of currently hiddenMPFeatureType
- Added optional venue loading, use loadMapsIndoorsWithVenues(key, venueIds) to load a specific set of venues
- Venues can be added and removed from load at any time by using
addVenueToSync(venueId)andremoveVenueToSync(venueId) - Track the status of venues by adding a listener with
addOnVenueStatusChangedListener(MPVenueStatusListener) - Get a list of synced venues with
getSyncedVenues()
- Venues can be added and removed from load at any time by using
- Added functionality to disable automatic floor and building selection when moving the map
setBuildingSelectionModeset a Selection mode for Buildings on the map withMPSelectionMode(automaticormanual)setFloorSelectionModeset a Selection mode for Floors on the map withMPSelectionMode(automaticormanual)
- Added functionality to make locations
selectable.- This setting can be found on
MPLocation,MPPOITypeandMPSolutionConfig - Added
MPPOITypewhich can be fetched fromMPSolution
- This setting can be found on
- Added
mapsIndoorsTransitionLevelto MapsIndoorsWidget ctor- Sets the zoom level at which the MapsIndoors data should show, instead of extruded buildings on Mapbox Maps. Can be set to 0, if extruded buildings should not show.
- Added multi-stop navigation: It is now possible to add multiple stops to routes.
- The existing
getRoutemethod gets two optional parametersstopsandoptimize stopswill add the stops to the route between theoriginanddestinationoptimizewill rearrange thestopsto make a more optimal route, butoriginanddestinationwill stay the same.
- The existing
- Updated Mapsindoors SDKs:
- Android to 4.8.5
- iOS to 4.5.7
Deprecated #
- Deprecated
clearWayType: useclearAvoidWayTypeinstead
2.1.6 #
- Updated to Mapsindoors iOS SDK 4.3.11 with proper Privacy Manifests
2.1.5 #
- Updated Mapsindoors SDKs
- Android to 4.4.1
- iOS to 4.3.8
2.1.4 #
- Fixed issue with not being able to always get a correct route involving one way paths.
2.1.3 #
- Fixed issue with
MapsIndoorsWidget.readyListenernot being called on very initial load of MapsIndoors.
2.1.2 #
- Updated Mapsindoors SDKs
- Android to 4.2.12
- iOS to 4.2.14
2.1.1 #
- Fixed issue where
OnMapReadyListenerwould not be invoked during the initial load on iOS.
2.1.0 #
- Updated Mapsindoors SDKs
- Android to 4.2.10
- iOS to 4.2.13
- Added
showRouteLegButtonstoMPDirectionsRenderer - Added
setLabelOptionstoMapsindoorsWidget
2.0.1 #
- RETRACTED
2.0.0 #
- Moved from mapsindoors to allow for multiple map providers
- Changes to classes:
- MapControl
- MapControl has merged with the MapsIndoorsWidget, combining them into a single entity. the Widget will still be built in the build tree, and accepts a listener as a parameter to wait for the MapControl part to be initialized.
- MapControl
- MapsIndoors
- Has been split up into functions on the namespace to align better with dart language standards. Some methods have changed naming to avoid collision with popular method and parameter naming (eg. MapsIndoors.load() is now loadMapsIndoors())
- Changes to the Widget
- The MapsIndoorsWidget has been changed to be a UniqueWidget, this is to ensure that the underlying MapsIndoors in the platform code can function normally.