Pluggable Widgets and Data Sources

1
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!
asked
1 answers
0

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

https://github.com/tieniber/native-maps/blob/master/src/NativeMaps.xml#L23

answered