Methods
-
load(map_div, settings, success, error) → {Object}
-
Loads SitumWayfinding in the specified div.
Parameters:
Name Type Description map_div
string Name of the div where SitumWayfinding would be loaded settings
string Settings used by the native library to configure its behaviour success
function Success callback function error
function Error callback function Returns:
Object - A map objectExample
load(map_div, function(success) {},function(error) {});
-
unload(map, success, error)
-
Unloads SitumWayfinding view.
Parameters:
Name Type Description map
Object Object to unload success
function Success callback function error
function Error callback function Example
unload(map, function(success) {},function(error) {});