Create Rendering Plugins

HERE platform catalogs contain layers with location data that is mostly partitioned geographically. The Data Inspector Library allows rendering Protobuf-encoded, geographically partitioned data on top of the base map with the help of custom GeoJSON rendering plugins.

The Data Inspector Library uses Protocol Buffers (schemas) to decode these partitions. A partition is rendered with a plugin that is invoked once the partition is decoded. The rendering plugin returns the GeoJSON representation of the partition that is then rendered by the GeoJsonDataSource. The Platform lets you attach a GeoJSON plugin to your schema.

For a full list of GeoJSON features supported by the Data Inspector Library, see Preconditions for Visualization.

With the rendering functions and style properties provided with the Data Inspector Library, you can develop your custom GeoJSON rendering plugins using one of the following environments:

  • In the Data Inspector integrated development environment (IDE) using layer rendering settings and the embedded JavaScript (JS) editor. This is the fastest way for you to develop and run your rendering plugins. For more information, see the Data Inspector IDE chapter.

  • Locally by installing the Web App Generator with the option Custom data using custom JavaScript translators to GeoJSON and extending the renderer.plugin.template.js file that becomes available in the generated example application. For more information, see the Custom Data chapter.

To see a sample implementation of the Data Inspector Library's rendering functions and style properties, see the Plugin Examples chapter.

results matching ""

    No results matching ""