Ticket T302507
Visible to All Users

XtraMap control uses incorrect Url for OpenStreetMap

created 9 years ago

To replicate, drag an XtraMap control onto a form, click its Smart Tag, click on the "Connect to OpenStreetMap Server"  link button and then run the application. The MapControl will not display anything.

Click on the MapControl Smart Tag again and then on the "Edit Layers" link button. If you expand the properties of the Images Tile Layer that was automatically created, you'll see the DataProvider.TileUriTemplate is "http://{0}.tile.INSERT_SERVER_NAME.com/{1}/{2}/{3}.png".

If you add another Images Tile Layer via the Layers Editor and set the DataProvider to OpenStreetMapDataProvider, the TileUriTemplate is the correct "http://{0}.tile.openstreetmap.org/{1}/{2}/{3}.png" template.

The "Connect to OpenStreetMap Server" link button in the Smart Tag popup should replicate the process of adding an Images Tile Layer and use the correct TileUriTemplate.

Answers approved by DevExpress Support

created 9 years ago (modified 9 years ago)

Hi Brendon,

Thank you for your report. We have intentionally replaced the OpenStreetMap server name with the "INSERT_SERVER_NAME" placeholder to avoid possible conflicts with the Tile usage policy. We will also correct the OpenStreetMapDataProvider initialization behavior when a new layer is added using the Layers Editor. I have registered a separate ticket in this regard: OpenStreetMapDataProvider - The TileUriTemplate contain the OpenStreetMap server name when creating a new data provider using the Layers Editor. Should you need further clarification, feel free to ask. We will be happy to help you.

    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.