Unfortunately we can't reproduce the problem using just the code snippet you sent. I have changed the ESRIShapeFile
example for using of the ShapeFileReader.Read method and it works without problems.
There could be a different problem related to the projection of shapes in the shape file. Currently Geospatial data can be represented using the following projections which are supported by the map control:
- The Mercator projection EPSG:4326 (default) that refers to WGS84 as (latitude, longitude) pair coordinates in degrees
- The OSGB-1936 projection which also known as EPSG:27700
- The EPSG:900913 projection which also known as EPSG:3857 and Pseudo-Mercator projection that refers to WGS84 as (latitude, longitude) pair coordinates in meters
The shape file you use should be saved using one of projections above. Usually the .prj file contains information about the projection of shape files. We need at least your shape file to reproduce the problem.
Could you please create new support ticket and attach your shape file or a small sample solution which reproduces the problem?
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>