Hi
Im not able to view esri Shapefile using code given below:
shapeDataSource:'../data-files/shapes/samp.shp'
databaseSource:'../data-files/shapes/samp.dbf'
I can only view the sample shapefile which is given in the sample code.
kindly let me know the work around for this issue
Hi satish akoju,
Let me know, if you are still experiencing this issue.
Sincerely,
Deyan Kamburov
If you are referring to the sample from locally installed samples, running the sample from its file it throws js exception:
XMLHttpRequest cannot load file:///C:/Users/Public/Documents/Infragistics/IgniteUI%202013.1/Samples/IgniteUI.SamplesBrowser/data-files/shapes/indlanp020.shp. Cross origin requests are only supported for HTTP.
So I suggest put the sample in virtual directory and also ensure that the MIME Types in your Web server for .dbf and .shp are added and are application/octet-stream.