mapsindoors_googlemaps 3.1.3 mapsindoors_googlemaps: ^3.1.3 copied to clipboard
A MapsIndoors flutter plugin using the Mapbox platform for Android and iOS app usage.
Changelog #
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
getLocationById
could not find a location, it now returns null like on Android - Fixed
setCollisionHandling
onMPSolutionConfig
would cause a crash - Fixed
moveCamera
/AnimateCamera
from aMPCameraPosition
would not work on iOS
3.1.1 #
3.1.0 #
3.0.2 #
3.0.1 #
- Fixed build issue that caused Android devices to be unable to use the SDK
3.0.0 #
Added #
- Added
setHighlight
andclearHighlight
toMapControlWidget
which allows you to highlight a list of locations - Added new
MPCameraViewFitMode
:none
, which will disable automatic camera movement when changing legs - Added
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 new setters and getters to
MPDisplayRule
:LabelType
IconScale
IconPlacement
PolygonLightnessFactor
LabelStyleTextSize
LabelStyleTextColor
LabelStyleTextOpacity
LabelStyleHaloOpacity
LabelStyleHaloWidth
LabelStyleHaloBlur
LabelStyleBearing
BadgeVisibile
BadgeZoomFrom
BadgeZoomTo
BadgeRadius
BadgeStrokeWidth
BadgeStrokeColor
BadgeFillColor
BadgePosition
- 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()
- 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
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
- This setting can be found on
- Added
mapsIndoorsTransitionLevel
to 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
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.
- The existing
- Updated Mapsindoors SDKs:
- Android to 4.8.5
- iOS to 4.5.7
Deprecated #
- Deprecated
clearWayType
: useclearAvoidWayType
instead
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.readyListener
not 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
OnMapReadyListener
would 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
showRouteLegButtons
toMPDirectionsRenderer
- Added
setLabelOptions
toMapsindoorsWidget
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.