Find more Examples here

Custom Content (FlexView-API)

Version reduced to minimal set of HTML Read Example Description

Description

The FlexView API renders a set of objects if the configuration parameter initDataPointList is filled with a list of ids. All objects must be of the same content type (configuration parameter frontendtype).

var myList = [ 
    '1397449', '5345254', // some tours
    '1750952', '1750951'  // some pois
];

var conf = {
    frontendtype: "any",
    initDataPointList: myList,
    fitDataBounds: true,

    withUrlHash: false,

    zoom:           11,
    center:       [ 11.292, 47.546 ],
};

var fvp = oa.api.flexviewpage( conf );