2017-11-24 23:04:46 +00:00
|
|
|
# Navigation Map Options
|
2017-12-27 19:51:54 +00:00
|
|
|
var NavigationMapOptions =
|
2017-11-24 23:04:46 +00:00
|
|
|
{
|
|
|
|
new : func() {
|
2017-12-27 19:51:54 +00:00
|
|
|
var obj = { parents : [NavigationMapOptions] };
|
2017-11-24 23:04:46 +00:00
|
|
|
obj.Options= {};
|
|
|
|
obj.loadOptions();
|
|
|
|
return obj;
|
|
|
|
},
|
|
|
|
|
|
|
|
getOption : func(type) {
|
|
|
|
return me.Options[type];
|
|
|
|
},
|
|
|
|
|
|
|
|
setOption : func(type, name, value) {
|
|
|
|
me.Options[type][name] = value;
|
|
|
|
},
|
|
|
|
|
|
|
|
loadOptions : func() {
|
|
|
|
me.clearOptions();
|
|
|
|
me.Options.APS = {};
|
|
|
|
},
|
|
|
|
|
|
|
|
clearOptions : func() {
|
|
|
|
me.Options = {};
|
|
|
|
},
|
|
|
|
|
|
|
|
};
|