Related REST API method
Take a look at getAttributeFilters.
YoumapsAPI.initMapboardAttributeFilters(mapboardId:Integer, callback?:function)
Initializes and adds all attribute filters of a given mapboard to the YoumapsAPI object attribute filters hashes/array.
function onYoumapsApiLoaded(){
console.log("YoumapsAPI loaded!");
youmapsApi.initMapboardAttributeFilters(<MAPBOARD_ID>, callback);
}
function callback(){
console.log("Attribute filters loaded for given mapboard!");
}
var mapOptions = {
center : new google.maps.LatLng(48.858386, 2.343435), // Paris,
zoom : 11,
minZoom : 6,
maxZoom : 17
};
var youmapsApi = new YoumapsAPI(
{
techID : <YOUR_TECH_ID>,
initMapboards : true,
mapDivId : "map",
mapOptions : mapOptions
},
onYoumapsApiLoaded
);
