Bug Report T351709
Visible to All Users

Export to Image does not always work if a custom data provider is used

created 9 years ago

I am unable to export an image from the map control that is off screen using a local map provider.  I would like to able to control the size and the zoom of the map image exported in order to make sure custom layers are included.

I have attached a project that has a form with two buttons and the offline map tiles.

  1. Upon loading the form, a map control is added to the form.  The map control uses open street map as a provider.  A polygon drawn on a vector layer using WKT.  This is to demonstrate that the offline maps are being rendered.
  2. The Online button instantiates a off screen map control. This map control uses open street map as a provider.  A polygon drawn on a vector layer using WKT.  The image is exported when the layer's data has complete.
  3. The Offline button: instantiates a off screen map control. This map control uses map image tiles locally as a provider.  A polygon drawn on a vector layer using WKT.  The image is exported when the layer's data has complete.

When I attempt to export the image using map image tiles locally the map control does not behave as expected.

  1. If I remove the setting of the map control's size (e.g. 640 x 480) an image is generated but the map is rendered in its default size (400 x 200)…  Anything outside bounds of the default size will not render an image.
  2. If I change the zoom level from 17 to 15 the I am unable to export an image.

Any suggestions?

Thanks
Justin

Comments (1)
DevExpress Support Team 9 years ago

    Thank you for your report. I have managed to replicate the problem on my side. It will require additional time to research the problem in greater detail. Please bear with us. We will update the thread once we have any results.

    Answers approved by DevExpress Support

    created 9 years ago

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Show previous comments (1)
      DevExpress Support Team 9 years ago

        Hi Terry,
        We are planning to provide it in two or three days.

          When might we expect the requested Hotfix?
          Terry

          DevExpress Support Team 9 years ago

            Hi Terry,
            We have provided Hotfix.

            Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

            Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.