Hi AngeIa,
You can override the SpatialReference property in your custom provider for changing its projection.
See the following code of the CustomOpenStreetMapProvider I sent:
The projection class should implement the ISpatialReference interface.
It can be inherited from the SpatialReference class with specifying projection properties in its constructor. The GeographicToLogical and the LogicalToGeographic methods also could be overridden if it is necessary for a projection. These methods convert a geographical coordinate (Longitude, Latitude) to a logical Point (0->1) and vice versa.
Для изменения проекции вы можете переопределить свойство SpatialReference в вашем custom provider. Обратите внимание на вышеприведенный код из CustomOpenStreetMapProvider.
Класс проекции должен реализовывать интерфейс ISpatialReference. Он может быть сделан как наследуемый от класса SpatialReference с определением значений свойств проекции в конструкторе класса. Так же если это необходимо могут быть переопределены методы GeographicToLogical и LogicalToGeographic. Эти методы служат для конвертирования географических координат(Longitude, Latitude) в логические (0->1) и наоборот.
Kind regards,
Andrey Murzov
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items.