Skip to main content
Question

Add Vector Layer to Open Layers Data Delivery Example

  • April 12, 2020
  • 1 reply
  • 20 views

Forum|alt.badge.img

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.

1 reply

laurawatsafe
Safer
Forum|alt.badge.img+11

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings