FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
SharpMap/SharpMap.Server/WMSServer.cs at main · SharpMap/SharpMap · GitHub
SharpMap
SharpMap
Repository navigation
Code
Issues
42
(42)
Pull requests
6
(6)
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
SharpMap
/
SharpMap.Server
/
WMSServer.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
26 lines (24 loc) · 751 Bytes
Breadcrumbs
SharpMap
/
SharpMap.Server
/
WMSServer.cs
Copy path
File metadata and controls
26 lines (24 loc) · 751 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using
System
;
using
System
.
Collections
.
Generic
;
using
System
.
Linq
;
using
System
.
Web
;
namespace
SharpMapServer
{
public
class
WMSServer
:
IHttpHandler
{
internal
static
SharpMap
.
Map
m_Map
;
internal
static
SharpMap
.
Web
.
Wms
.
Capabilities
.
WmsServiceDescription
m_Capabilities
;
public
bool
IsReusable
{
get
{
return
true
;
}
}
public
void
ProcessRequest
(
HttpContext
context
)
{
//Clone the map-instance since the parse-query-string request will modify sice etc.
using
(
var
safeMap
=
m_Map
.
Clone
(
)
)
{
SharpMap
.
Web
.
Wms
.
WmsServer
.
ParseQueryString
(
safeMap
,
m_Capabilities
)
;
}
}
}
}
Back
|
FazBrowse Home
|
New Git URL