{
Rectangle renderingArea = new Rectangle(image.getWidth(), image.getHeight());
if (renderer.getType() == JRRenderable.TYPE_IMAGE)
{
imageMapName = (String) imageMaps.get(new Pair(renderer.getId(), renderingArea));
}
if (imageMapName == null)
{
imageMapName = "map_" + getElementIndex().toString();
imageMapAreas = ((JRImageMapRenderer) originalRenderer).getImageAreaHyperlinks(renderingArea);//FIXMECHART
if (renderer.getType() == JRRenderable.TYPE_IMAGE)
{
imageMaps.put(new Pair(renderer.getId(), renderingArea), imageMapName);
}
}
}
}