Skip to main content

Hi All,

Does anyone know how I might add a vector layer to the Open Layers example for data delivery in the FME Server Playground

https://playground.fmeserver.com/javascript/data-delivery/open-layers-integration/

I would like to drop a line feature on top of the Open Layers basemap so users can use it as a reference when they are selecting their area of interest.

Hi @smcd84,

This example on the playground: https://playground.fmeserver.com/javascript/data-visualization/open-layers/ shows adding lines from a KML file to an Open Layers map. That example makes a user click a button to load the kml from FME Server's data streaming service, but it could be modified to display any kml file. I believe Open Layers can support other types of data like GeoJSON as well, but it's been a while since I've tried anything with their API.


Reply