mapsindoors_mapbox 3.0.2
mapsindoors_mapbox: ^3.0.2 copied to clipboard
A MapsIndoors flutter plugin using the Mapbox platform for Android and iOS app usage.
Changelog #
3.0.2 #
- Fixed issues where updating display rules would not trigger a refresh on iOS
- Updated Mapsindoors SDKs:
- Android to 4.8.8
- iOS to 4.5.12
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
MPLoction,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.