Flutter Plugin
Changelog for the MapsIndoors Flutter Plugin. This document structure is based on Keep a Changelog and the project adheres to Semantic Versioning.
[3.1.3] 2024-10-31
Fixed
Fixed custom floorselectors not working properly on iOS
Changed
Updated Mapsindoors SDKs:
Android to 4.8.12
iOS to 4.6.2
[3.1.2] 2024-10-25
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
getLocationById
could not find a location, it now returns null like on AndroidFixed
setCollisionHandling
onMPSolutionConfig
causing a crashFixed
moveCamera
/AnimateCamera
from aMPCameraPosition
would not work on iOS
Changed
Updated Mapsindoors SDKs:
Android to 4.8.11 (Mapbox only)
[3.1.1] 2024-10-16
Fixed
Fixed issue where camera events would not be propagated to the Flutter layer
Fixed issue on iOS where setting a custom floor selector
Fixed issue on Android where
goTo(MPLocation)
did not function properlyFixed tilt not being applied when moving the camera using a
MPCameraUpdate
on iOSFixed blank screen on Android when not using the
MapsindoorsStyle
Changed
Updated Mapsindoors SDKs:
Android to 4.8.11 (Google Maps only)
iOS to 4.6.1
[3.1.0] 2024-09-11
Added
Added functionality for Android to update the map whenever a Display Rule is changed
Added method on MapsIndoorsWidget to disable built-in compass
Changed
Disabled Mapbox Attributions button on Android as it would crash when clicked
Updated Mapsindoors SDKs:
Android to 4.8.9
iOS to 4.5.14
[3.0.2] 2024-08-27
Fixed
Completed fix for build issue on Android devices
Fixed issues where updating display rules would not trigger a refresh on iOS
Changed
Updated Mapsindoors SDKs:
Android to 4.8.8
iOS to 4.5.12
[3.0.1] 2024-07-08
Fixed
Fixed build error when using Google Maps on Android
[3.0.0] 2024-06-26
Added
Added
setHighlight
andclearHighlight
toMapControlWidget
which allows you to highlight a list of locationsAdded new
MPCameraViewFitMode
:none
, which will disable automatic camera movement when changing legsAdded
addExcludeWayType
,clearExcludeWayType
toMPDirectionsService
to allow the user to exclude specificMPHighway
s when querying for a route.Added two new
MPSolutionDisplayRuleEnum
sselection
andhighlight
that 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
:LabelStyleGraphic
LabelType
IconScale
IconPlacement
PolygonLightnessFactor
WallLightnessFactor
ExtrusionLightnessFactor
LabelStyleTextSize
LabelStyleTextColor
LabelStyleTextOpacity
LabelStyleHaloOpacity
LabelStyleHaloWidth
LabelStyleHaloBlur
LabelStyleBearing
BadgeVisibile
BadgeZoomFrom
BadgeZoomTo
BadgeRadius
BadgeStrokeWidth
BadgeStrokeColor
BadgeFillColor
BadgePosition
Model3DModel
Model3DRotationX
Model3DRotationY
Model3DrotationZ
Model3DScale
Model3DZoomFrom
Model3DZoomTo
Model3DVisible
Added functionality to hide specific features from the map
setHiddenFeatures
set a list ofMPFeatureType
to be hidden from the mapgetHiddenFeatures
get 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()
Added functionality to disable automatic floor and building selection when moving the map
setBuildingSelectionMode
set a Selection mode for Buildings on the map withMPSelectionMode
(automatic
ormanual
)setFloorSelectionMode
set a Selection mode for Floors on the map withMPSelectionMode
(automatic
ormanual
)
Added functionality to make locations
selectable
.This setting can be found on
MPLoction
,MPPOIType
andMPSolutionConfig
Added
MPPOIType
which can be fetched fromMPSolution
Added
mapsIndoorsTransitionLevel
to MapsIndoorsWidget ctorSets 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
getRoute
method gets two optional parametersstops
andoptimize
stops
will add the stops to the route between theorigin
anddestination
optimize
will rearrange thestops
to make a more optimal route, butorigin
anddestination
will stay the same.
Changed
Updated Mapsindoors SDKs:
Android to 4.8.5
iOS to 4.5.7
Deprecated
Deprecated
clearWayType
: useclearAvoidWayType
instead
[2.1.6] 2024-05-03
Changed
Updated Mapsindoors SDKs
iOS to 4.3.11
[2.1.5] 2024-03-25
Changed
Updated Mapsindoors SDKs
Android to 4.4.1
iOS to 4.3.8
[2.1.4] 2024-02-28
Changed
Updated Mapsindoors Android SDK 4.3.4
Fixed
Fixed issue with not being able to always get a correct route involving one way paths.
[2.1.3] 2024-02-13
Changed
New Example app included.
Fixed
Fixed another issue where
OnMapReadyListener
would not be invoked during the initial load on iOS.Fixed issues where
setOnMarkerClickListener
,setOnMapClickListener
andsetOnLocationSelectedListener
would not accept being called with optional parameters.
[2.1.2] 2024-02-01
Changed
Updated Mapsindoors SDKs
Android to 4.2.12
iOS to 4.2.14
[2.1.1] 2024-01-24
Fixed
Fixed issue where
OnMapReadyListener
would not be invoked during the initial load on iOS.
[2.1.0] 2024-01-11
Changed
Updated Mapsindoors SDKs
Android to 4.2.10
iOS to 4.2.13
Added
Added
showRouteLegButtons
toMPDirectionsRenderer
Added
setLabelOptions
toMapsindoorsWidget
[2.0.0] 2023-08-15
Changed
Moved from mapsindoors to allow for multiple map providers
Changes to classes:
MapControl
MapControl
has merged with theMapsIndoorsWidget
, combining them into a single entity. theWidget
will still be built in the build tree, and accepts a listener as a parameter to wait for the MapControl part to be initialized.
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 nowloadMapsIndoors
)
Changes to the Widget
The
MapsIndoorsWidget
has been changed to be aUniqueWidget
, this is to ensure that the underlying MapsIndoors in the platform code can function normally.
Last updated