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)

1.3.1 Hotifx (2017-12-18)

1.3.1 (2017-11-22)

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

1.2.11 (2017-05-03)

1.2.10 (2017-04-25)

1.2.9 (2016-12-19)

1.2.8 (2016-12-16)

1.2.7 (2016-12-14)

1.2.6 (2016-12-12)

1.2.5 (2016-11-23)

1.2.4 (2016-11-23)

1.2.3 (2016-11-17)

1.2.2 (2016-11-04)

1.2.1 (2016-11-04)

1.2.0 (2016-11-04)

1.1.1 (2016-09-12)

1.1.0 (2016-09-12)

1.0.6 (2016-08-09)

1.0.5 (2016-05-20)

1.0.4 (2016-05-01)

1.0.3 (2016-05-01)

1.0.2 (2016-04-15)

1.0.1 (2016-03-17)

1.0.0 (2016-03-17)