Pluggable Widgets and Data Sources

Hi, I’ve managed to wrap up the OpenLayers Javascript API in a widget and it’s centering on a location and zooming in, which is great. I’m trying to now pass in a list of Markers to add to the map from a datasource. All I get when I add the datasource is a list of IDs. I’ve looked around and searched but can’t find anything about what I’m supposed to do with these IDs to get the data associated with them? Any help would be great! Thank you!
1 answers

You need add attribute properties that refer to the dataSource you’ve defined, like here: