Monday, September 17, 2012

Create images from map displays

Create images from map displays

We have a scenario with different areas that the user can have displayed in a map. In the application, the user can browse through the areas one at a time having one area displayed in the map at a time. The map control is DeepEarth. It should be possible to have these areas printed into a report (we use Telerik Reporting for Web). We have succesfully converted the current displayed area in the map to an PNG image that can be put into the report.

However, we do not know how to get an image of the areas that are not displayed in the map. We have tried to render each area in a hidden map control but that does not seem to work since the map control only seem to render when it is displayed in the UI.

Another possible solution is to render the image in a canvas. This seems easy for the map background image, but what about the GIS objects (lines, points, polygons)?

Another approach is to automatically open a window with the map, render the image and close the window again for each area - but this is not a user friendly solution.

What is the correct approach for accomplishing this?

Appreaciate all the input we can get.

Answers & Comments...




No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog