Mappedin React Native SDK v5 release notes are posted here and this page will be kept up-to-date as updates are released. The SDK is available from @mappedin/react-native-sdk on NPM.
v5.0.3 - December 15, 2022
- Fix issues with removing and relabelling Flat Labels
v5.0.2 - December 9, 2022
- Fix TypeScript definitions
v5.0.1 - December 5, 2022
- Update readme
v5.0.0 - December 5, 2022
This release includes changes from all previous beta versions.
- Improve Flat Label
setAppearance
to overwrite only specified settings - Streamline
createTooltip
arguments - Fix
MappedinCategory.locations
getter - Internal caching and typing improvements
- Fix error preventing markers from being created
- Improve analytics API
- Add new Flat Labels and Floating Labels APIs
- Improve types and documentation in various parts
- Improve error handling in wrappers
- Remove
setPolygonColor
’stextColor
andpolygonId
arguments - Fix
getPolygonsAtCoordinate
to use map of coordinate instead of current map - Fix camera animation rotation for larger angles
- Fix first map loaded -promise returning too early
- Suppress extraneous console logs in production
- Mark
getVenueMVF
as internal - Remove old search, which was replaced with
OfflineSearch
- Remove 2D perspective
- Add translate method to the Camera class to enable camera movement
- Fix map element selection in iOS
- Stop bundling fetch function for non-browser and React Native environments. This breaking change requires that you set your own fetch function in Node. For example:
import { setFetchFn } from '@mappedin/mappedin-js';import fetch from 'node-fetch';
setFetchFn(fetch);
- Added
maxTilt
property to Camera which can be read to retrieve the current max tilt angle, and be set to a new max tilt angle. A range of is enforced via clamping, limiting the tilt angle to between a completely top-down view and completely side-on view. - Added
useDraftData
option togetVenue
to allow accessing draft mode data for testing purposes. This feature needs to be enabled separately for your API keys. - Fix searching tags that contain diacritics (accents such as
ñ
)
v5.0.0-beta.11 - November 23, 2022
- Streamline
createTooltip
arguments - Fix
MappedinCategory.locations
getter - Internal caching and typing improvements
v5.0.0-beta.10 - November 17, 2022
- Fix Flat Label appearance import
v5.0.0-beta.9 - November 9, 2022
- Add the Camera animate method to the RN wrapper
- Expose image flipping in wrappers
- Deprecate polygon clicked and nothing clicked -events
- Add new Flat Labels and Floating Labels APIs
- Improve types and documentation in various parts
- Improve error handling in wrappers
- Remove
setPolygonColor
’stextColor
andpolygonId
arguments - Fix
getPolygonsAtCoordinate
to use map of coordinate instead of current map
v5.0.0-beta.8 - October 19, 2022
- Fix camera animation rotation for larger angles
- Fix first map loaded -promise returning too early
- Fix issue when searching in
onDataLoaded
-callback - Re-evaluate listeners when passed functions change
v5.0.0-beta.7 - September 12, 2022
- Add translate method to the Camera class to enable camera movement
- Fix map element selection in iOS
- Fix
onPolygonClicked
andonDataLoaded
issues - Add method to control
Camera.maxTilt
v5.0.0-beta.6 - August 10, 2022
- Added
maxTilt
property to Camera which can be read to retrieve the current max tilt angle, and be set to a new max tilt angle. A range of is enforced via clamping, limiting the tilt angle to between a completely top-down view and completely side-on view. - Added
useDraftData
option togetVenue
to allow accessing draft mode data for testing purposes. This feature needs to be enabled separately for your API keys.
v5.0.0-beta.5 - August 10, 2022
- Fix searching tags that contain diacritics (accents such as
ñ
)
v5.0.0-beta.4 - August 4, 2022
- Switch to CJS builds for testing Mappedin React Native SDK with Expo Snacks