Hi,
We are using ThinkGeo WebEdition (3.1.299) to develop a MVC web application which runs as a sub-application.
When the page renders the src attribute of img element for all tiles is relative path of tile_GeoResource.axd and the request goes to the parent application. The parent application can not handle the request and it returns an error.
As work around we have implemented a handler factory in parent application which returns an aspx page as a request handler for *_GeoResourece.axd requests. The aspx page does a Response.Redirect on Page_Load and passes the URL of sub-application. With this approach we are able to redirect all *_GeoResource.asd request to our sub-application and the application works fine.
This approach generates lot of response redirections increasing number of requests to web server. Is there a way (property) to specify base URL in the Map so that we have better control on the requests and specify absolute paths for ajax request. Or is there a better approach to use Maps WebEdition in a sub-application?
Regards,
Chandan