Release notes
If there are new features, bugfixes or other significant changes in the API, you can read about them here.
1.3.2 (2018-02-14)
- Add release notes page with changelogs
1.3.1 Hotifx (2017-12-18)
- Add missing properties to POI data object, including new 'images' property
- Some WCAG focus css fixes
1.3.1 (2017-11-22)
- Use MazeMap tile layer with pre-rendered buildings and labels
- Remove client building labels. Now rendered in tiles
- Remove client vector layer building outline. Now rendered in tiles
- Remove layerGroup.zDemuxer, no need anymore
- Add Object.assign polyfill
- Routing: Handle undefined zLevel as input in getGeoJsonRoute
1.3.0 (2017-11-20)
Notice:
This version introduces a new pattern for initializing the map, to conform with the pattern used in JS API v2. This pattern requires less lines of code for you and should be easier to use, but might require some minor refactoring of your application code.
Example NEW initialization of map:
var map = Maze.map('mazemap-container', {
campuses: 1,
zoom: 16,
center: {lat: 63.41788985355879, lng: 10.404042000000011},
zLevel: 1
});
map.on('ready', function() {
console.log('Map is ready');
});
Example OLD initialization of map:
var map = Maze.map('mazemap-container', { campusloader: false });
Maze.Instancer.getCampus(1).then(function(campus){
map.fitBounds(campus.getBounds());
campus.addTo(map).setActive().then( function(c) {
map.setZLevel(1);
map.getZLevelControl().show();
});
});
Less use of Maze.Instancer
The map is now initialized with more options parameters, and without need to specifically make instances of a campus or buildings.
New ready
event
Because of the async nature of the initialization process, loading campuses etc, we have implemented a ready
event that fires when the map is fully loaded and ready to go. To be safe, it is recommended to listen for this event and to not add custom controls or layers before this event is finished.
Changelog
- Updated to Leaflet v1.2.0
- Refactored and added some similar functionality as the JS API 2.0
- Added highlighter
- Added mappanes
- Added BlueDot marker
- Map option 'campuses' now supports a strict campus ID, similar to js api 2.0
- Map fires a 'ready' event after the initial campuses parsing and load
- Map respects initial zLevel property from map options
- Added support for campus defaultZLevel property
- Added support for the campus poiTypesSelectableInApp property on the campus model
- Fixed the Data.getPoiCategoryIdsByCampusId to use the poiTypesSelectableInApp property
- Updated the Route styling to match the new js api 2.0 style
- Removed the wheelscroll support on the zLevelControl
- Make sure map.setZLevel receives a Number, and warn if not
- Removed the deprecated MazeMap Campus BaseMap tileLayer
- Added click events on floor, building and campus
- Added building outline fill-color styling, matching js api 2.0
- Updated campus outline styling, matching js api 2.0
1.2.11 (2017-05-03)
- Updated dependencies to fix a crash when manipulating an invisible map
1.2.10 (2017-04-25)
- Updated dependencies
- Allow changing the base URL for the search and route API endpoints
1.2.9 (2016-12-19)
- Avoid cache-busting URL hashes in CSS dependencies (typefaces)
- Fix icon opacity on changing z-levels
1.2.8 (2016-12-16)
- Added the
Maze.campusTileURL
namespace option.
1.2.7 (2016-12-14)
1.2.6 (2016-12-12)
- Bufix: Permissive loading of floors without outlines
1.2.5 (2016-11-23)
1.2.4 (2016-11-23)
- Fixed packaging of CSS for glyph fonts.
1.2.3 (2016-11-17)
- Floor control shows "N/A" instead of "undefined" where there exist no floor
1.2.2 (2016-11-04)
- Add small icons
- Fixed missing slash in tile URLs
1.2.1 (2016-11-04)
- Added Maze.apiBaseURL, floorTileURL and baseTileURL overridable namespace properties.
1.2.0 (2016-11-04)
- Added InjectableLocation capabilities.
1.1.1 (2016-09-12)
- Improved reliability of
Maze.Data.getPoiAt()
and Maze.Instancer.getPoiAt()
- Added a new example for nearest POIs
1.1.0 (2016-09-12)
- Replaced WMS with tiles
- Removed capability to add a floorplan to just one floor or just one building
- Removed capability for displaying label-less floorplans (along with docs about it)
- Added Leaflet.GridLayer.FadeOut as an internal plugin
1.0.6 (2016-08-09)
- Fix typo between
getPoi
and getPoiAt
- Added "clean" floorplan option,
floorplanStyle
- Always use HTTPS map tiles
- Update Leaflet to 1.0.0-rc3
1.0.5 (2016-05-20)
- Fix some CORS errors by tweaking backend API calls
- Added polyfill for Array.from
- Implemented
Maze.Data.getPoiAt()
and Maze.Instancer.getPoiAt()
1.0.4 (2016-05-01)
1.0.3 (2016-05-01)
- Bugfix: Maze.Icon.Chub constructor
- Bump Leaflet to 1.0.0-rc1
- More examples: POI categories, Icon.Pulse, ImageOverlay.Rotated
1.0.2 (2016-04-15)
- Styling for controls in touch/non-touch
- Styling for building/campus labels
- Polyfilled distributable files
- Fixed offset of popups in chubby icons
- Examples for popups, heatmap plugin
1.0.1 (2016-03-17)
- Fixed a bug preventing the JS API from working in HTTPS webpages
- Fixed the
Maze.version
variable
1.0.0 (2016-03-17)