online_renderer library

Core rendering engine library for datastore-based map rendering.

This library provides the main rendering implementations for converting map data from datastores into visual representations. It includes support for various data sources and rendering strategies.

Key exports:

  • DatastoreRenderer: Main renderer for local map data
  • ArcGISOnlineRenderer: Renderer for ArcGIS online tile services
  • OSMOnlineRenderer: Renderer for OpenStreetMap tile services
  • JobRequest/JobResult: Asynchronous rendering job management
  • UIRenderContext: Rendering context and state management
  • ImageHelper: Utilities for image processing and manipulation

Classes

ArcgisOnlineRenderer
This renderer fetches the desired bitmap from ArcGIS website. Since the bitmaps are 256 pixels in size the same size must be configured in the displayModel.
DatastoreRenderer
High-performance tile renderer for datastore-based map data.
ImageHelper
A helper class for creating placeholder and error tile bitmaps.
JobRequest
Request object for tile rendering operations.
JobResult
Result object containing the output of a tile rendering job.
MemoryDatastore
In-memory datastore implementation for testing and dynamic tile generation.
MultimapDatastore
A MapDatabase that reads and combines data from multiple map files. The MultiMapDatabase supports the following modes for reading from multiple files:
OsmOnlineRenderer
This renderer fetches the desired bitmap from openstreetmap website. Since the bitmaps are 256 pixels in size the same size must be configured in the displayModel.
Renderer
Abstract base class for tile rendering implementations.

Enums

DataPolicy
//////////////////////////////////////////////////////////////////////////
JOBRESULT
Enumeration of possible job result states.