Skip to main content
Question

Add Vector Layer to Open Layers Data Delivery Example

  • April 12, 2020
  • 1 reply
  • 36 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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

laurawatsafe
Safer
Forum|alt.badge.img+12
  • Safer
  • 158 replies
  • April 14, 2020

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.