Hi Guys. In version 4.0 of the desktop edition I was overriding GetRequestUriCore because I needed to add some parameters to the request string like so -
protected override Uri GetRequestUriCore(
Uri serverUri,
RectangleShape targetExtent)
{
// Convert extent back to decimal degrees for data compatibility and
// fit extent to tile grid
RectangleShape tileGridExtent = FitExtentToTileGrid(_currentExtent);
string mapExtentKey = GetMapExtentKey(tileGridExtent);
AddEditParameters(Parameters, "MapExtent", mapExtentKey);
AddEditParameters(Parameters, "RequestID", _requestID.ToString());
AddEditParameters(Parameters, "FORMAT", "IMAGE/PNG");
_requestID++;
return base.GetRequestUriCore(serverUri, targetExtent);
}
I see that in 4.5 the TiledWMSOverlay now has this method that appears to replace GetRequestUriCore - virtual Collection<Uri> GetRequestUrisCore(RectangleShape requestExtent);
but I can't override this. Was this an oversight as far as not making this an override method or is there a better way to add parameters to the request now? Thanks.
Chris
protected