This renderer translates a map feature whose geometry is an IlvMapImage
into an IlvZoomableIcon
.
More...
#include <ilviews/maps/rendering/imagerdr.h>
This renderer translates a map feature whose geometry is an IlvMapImage
into an IlvZoomableIcon
.
Library: ilvmaps
◆ IlvDefaultImageRenderer() [1/2]
IlvDefaultImageRenderer::IlvDefaultImageRenderer |
( |
IlvDisplay * |
display | ) |
|
Initializes a new instance of the renderer.
- Parameters
-
display | The display used to create the graphic objects. |
◆ IlvDefaultImageRenderer() [2/2]
◆ BitmapError()
static IlvMapsError IlvDefaultImageRenderer::BitmapError |
( |
| ) |
|
|
static |
The error code returned if an error occurred during the bitmap data creation.
- Returns
- An
IlvMapsError
returned if an error occurred during the bitmap data creation.
- See also
makeGraphic()
.
◆ makeGraphic()
Translates an IlvMapFeature
into a graphic object.
- Warning
- This renderer handles projection conversion.
- Parameters
-
feature | The map feature to be translated. |
targetMapInfo | The target map info. |
status | Set to an error code if the renderer cannot process the map feature (most of the time, because the renderer does not support the feature geometry, but it can also indicate that a projection error occurred). |
- Returns
- An
IlvGraphic
object or 0
if a severe error occurred.
Implements IlvFeatureRenderer.