This is a migrated thread and some comments may be shown as answers.

OSGB1936Projection - Tile source isn't working as expected

5 Answers 63 Views
Map
This is a migrated thread and some comments may be shown as answers.
brian
Top achievements
Rank 1
brian asked on 28 Jan 2016, 02:25 PM

Please download an example using a TiledMapSource and the OSGB1936Projection (setting it in OSGBTileProvider) here: https://dl.dropboxusercontent.com/u/1738032/RadMapMbtilesDemo.zip.

The following isn't working as expected: 

* Center point conersion using the OSGB36Converter isn't correctly setting the center point
* Zooming in will not render tiles/not render them at the correct position.

 Can you please tell us if we've got anything wrong/if there's a fix we need to download. 

5 Answers, 1 is accepted

Sort by
0
brian
Top achievements
Rank 1
answered on 29 Jan 2016, 02:07 PM
Has anybody from Telerik investigated this yet/made any progress getting an example working with the OSGB1936Projection and a TiledMapSource. 
0
brian
Top achievements
Rank 1
answered on 01 Feb 2016, 10:18 AM
Is there anybody at Telerik who can answer this? 
0
Petar Mladenov
Telerik team
answered on 02 Feb 2016, 12:16 PM
Hello Brian,

Unfortunately, we do not have such sample currently. We managed to reproduce the mentioned issues but we need some time in order to confirm whether they are bugs in our control. We will contact you in the next business days.

Meanwhile could you please test this solution with other services if the result (scrambled tiles) is the same.
Thank you in advance.

Regards,
Petar Mladenov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
brian
Top achievements
Rank 1
answered on 02 Feb 2016, 02:03 PM

I will try and find another tile service to test meanwhile here is the same tile service working in leafletjs using proj4leaflet. This at least suggests the tile service is working in a standard way for this projection:

 https://earthware365-my.sharepoint.com/personal/brian_earthware_co_uk/_layouts/15/guestaccess.aspx?guestaccesstoken=vpg%2fwNBPeZ8YYd9sKcnHva99zdkLB9Jvi9JqZlOO1ws%3d&docid=079f78dbb2d3d40b28b23a74405c71b24&expiration=3%2f3%2f2016+2%3a03%3a14+PM 

 

 

0
Petar Mladenov
Telerik team
answered on 03 Feb 2016, 10:12 AM
Hello Brian,

It appears that our OSGB1936Projection class is designed to work only when set in EmptyProvider.
Generally, this class is not tested in such scenario with custom provider and it can be considered as feature request - adding support for OSGB1936 provider / OSGB1936 Provider example. This could potentially include:
- changes in the OSGB1936Projection class
- changes in OSGB36Converter class
- changes in the base class of the OSGB1936 - ProportionalProjection which overrides the GeographicToLogical and LogicalToGeographic functions of the Telerik.Windows.Controls.Map.SpatialReference class. You can submit such feature request in our feedback portal.

Usually, creating a custom map provider exceeds our support scope operations. However, you can try creating both custom provider, custom tile source (just the way you have started) but also create custom OSGB1936Projection by implementing the Telerik.Windows.Controls.Map.ISpatialReference interface.


Regards,
Petar Mladenov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Map
Asked by
brian
Top achievements
Rank 1
Answers by
brian
Top achievements
Rank 1
Petar Mladenov
Telerik team
Share this question
or