V3

[3.12.1] - 2020-10-06

Fixed

  • The search algorithm in MICommon has been updated so a partial match on the start of a word would be ranked higher.

[3.12.0] - 2020-08-18

Added

  • Locations for Venues, Buildings, and Floors is now included in the results from LocationsService.getLocations().

  • getFieldForKey on Locations objects for getting data for custom property with key, disregarding casing of key.

Fixed

  • Filtering locations using categories in LocationsService.getLocations().

  • Filtering locations using venue or building had no effect in LocationsService.getLocations().

  • Sometimes querying using the take parameter would return fewer results than expected.

[3.11.0] - 2020-07-27

Added

Fixed

  • Fixed issue where the SDK would throw an error if locations were requested before data had been loaded.

[3.10.0] - 2020-06-11

Added

  • Added option to DirectionsRenderer to control if the map's viewport will be fitted to the bounds of the rendered route.

[3.9.0] - 2020-05-02

Added

  • This release is build on MICommon

[3.8.1] - 2020-04-01

Fixed

  • Inaccessible localStorage in the browser will no longer crash the SDK.

[3.8.0] - 2020-03-02

Changed

  • Added externalId property on location properties object. roomId is now deprecated.

[3.7.1] - 2020-02-06

Fixed

  • PositionControl no longer regards saved position permission as invoked by clicking on the position control.

[3.7.0] - 2020-01-31

Added

  • PositionControl to show device position on the map.

Fixed

  • Error response body is now relayed correctly.

[3.6.0] - 2020-01-02

Changed

  • ShareService.directionsToPhone now requires country code to be provided seperately.

[3.5.1] - 2019-12-19

Changed

  • Changed the locations service to utilize the new backend apis new url structure.

Fixed

  • Fixed a bug where VenuesService.getBuildings calls for solutions/venues with no buildings caused rejection.

[3.5.0] - 2019-12-17

Added

  • Share service with function to send route directions via text message to phone.

Fixed

  • Fixed a bug where user roles were not passed along to distance matrix call.

  • Fixed bug where getBuilding returned undefined until the map had been moved.

[3.4.1] - 2019-10-30

Added

  • Client side caching. Most request are now beeing cached in the browser.

  • Added support for separate visibility control of label and icon

Fixed

  • The DirectionsService will now return a route object with the status "ZERO_RESULTS" if no route could be calculated. Before it unintentional threw an error.

  • Fixed a bug where the imageURL property on locations sometimes would be named imageurl.

[3.4.0] - 2019-08-28

Changed

  • Floor calculation when building comes into focus according to agreed upon strategy, including respecting default floor of a building.

  • The filter method now respects the fitView boolean also when clearing filter.

Fixed

  • Make sure selected/highlighted floor is always visible (no need to scroll) when focusing building.

[3.3.2] - 2019-08-15

Fixed

  • App config cache is now based on solution to avoid misconfiguration when switching solution.

[3.3.1] - 2019-07-31

Fixed

  • No longer assume that location imageURL always is received in lowercase from the backend.

[3.3.0] - 2019-07-15

Added

  • SolutionsService.getUserRoles() gets a list of user roles that can be used for filtering the directions result. This prevents routes from going through restriced areas.

Changed

  • userRoles parameter added to DirectionsService.getRoute() for filtering the directions result. The userRoles paramter takes a array of user role ids.

  • Directions to a venue can now make directions via a parking lot when driving or bicycling.

[3.2.3] - 2019-06-27

Fixed

  • Fixed a bug in mapsindoors.DirectionsRenderer. When setRoute(null) was called to remove the route from map it would throw an error.

  • Fixed the "Cannot read property 'toJSON()' of null" error caused by looking for buildings in view before the map has a bounding box.

[3.2.2] - 2019-06-24

Changed

  • Fixed build toolchain to prevent IE11 crash.

[3.2.1] - 2019-05-24

Added

  • Added the ability to change the api key at runtime via mapsindoors.MapsIndoors.setApiKey(key);

  • Added the functions to get and set the language at runtime:

    • mapsindoors.MapsIndoors.setLanguage(language);

    • mapsindoors.MapsIndoors.getLanguage();

Changed

  • The SDK now selects the fastest backend server based on a latency test.

  • A list of known backends is stored in localStorage for the SDK to choose from. The list of known backends are updated automatically as part of the latency test.

[3.1.1] - 2019-03-14

Fixed

  • Fixed a crash caused by setting mapStyle via the MapsIndoors constructor.

[3.1.0] - 2019-03-13

Changed

  • It's now posible to set a displayRule for a list of location ids or types. myMapsIndoors.setDisplayRule(["abc", "cde", "fgh"], { visible: false });

Added

  • Added the functions setMapStyle, getMapStyle and getMapStyles to MapsIndoors.

    • setMapStyle() set a new indoor map style.

    • getMapStyle() get the current style of the indoors map.

    • getMapStyles() get a list of availeble indoor map styles.

[3.0.5] - 2019-02-27

Fixed

  • Optimized map performance by reducing the amount POIs

[3.0.2] - 2019-02-19

Fixed

  • Support for IE 11

[3.0.0] - 2018-10-23

Changed

  • Script must now be loaded with apikey parameter instead of solutionId, e.g. https://app.mapsindoors.com/mapsindoors/js/sdk/mapsindoors-3.0.0-rc0.js?apikey=57e4e4992e74800ef8b69718

  • All services are now shared instances, so they cannot be newed. E.g. you must rewrite let directionsService = new mapsindoors.DirectionsService(); to let miDirectionsService = mapsindoors.DirectionsService;

  • Location click events for a MapsIndoors instance are now subscribable with the event name click instead of location_click, e.g. google.maps.event.addListener(myMapsIndoors, 'click', (poi) => { console.log(poi.id); });

  • DirectionService.route() has been renamed to DirectionService.getRoute().

  • DirectionRenderer.setDirections() has been renamed to DirectionRenderer.setRoute().

  • DirectionService.getRoute() request parameter travelMode has been renamed to mode.

  • DirectionRenderer.setDirections() now only accepts a single route instead of a route result, e.g. DirectionRenderer.setRoute(myRouteResult.routes[0]).

  • To highlight locations on a map through a MapsIndoors instance, instead of providing a query object to MapsIndoors.find(), you must now pass a list of locationId's to MapsIndoors.filter().

Removed

  • Removed MapsIndoors.find(), use MapsIndoors.filter() instead

  • Removed MapsIndoors.locate(), use MapsIndoors.filter() instead

Added

  • Icons for single Locations can now be updated independantly, by referencing the location id. E.g. myMapsIndoors.setDisplayRule('some-location-id', { icon: { url: 'https://icon.url' } });

Fixed

  • Fixed a rendering bug that was causing MapsIndoors' map markers to occasionally disappear

Last updated