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
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
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
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