This is a migrated thread and some comments may be shown as answers.

RadMap Custom Provider with geoserver

2 Answers 165 Views
Map
This is a migrated thread and some comments may be shown as answers.
minchul
Top achievements
Rank 1
minchul asked on 10 Jan 2019, 06:34 AM

I have seen the following example in this forums.

-->  https://www.telerik.com/forums/geoserver-as-provider

 

 

 

i just change 

1. BaseUri="http://localhost:8080/geoserver/hc_test/wms"

2. TileUrlFormat = @"?SERVICE=WMS&REQUEST=GetMap&VERSION=1.1.1&FORMAT=PNG&WIDTH={1}&HEIGHT={2}&SRS=EPSG:42310&BBOX={0}&LAYERS=hc_test:N3A_G0100000";

3. XYZoomToBBox Function

 

my GetTile Function is  return url that "http://ocalhost:8080/geoserver/hc_test/wms?service=WMS&version=1.1.1&request=GetMap&layers=hc_test:N3A_G0100000&styles=&bbox=956779,1928520,1142111,2015940&width=1000&height=1000&srs=EPSG:42310&format=application/openlayers"
This url works well in the browser. However, the map is not visible in the radmap.

The rest of the code is the same as example code.

 

Can I get the latest examples or advice for working with geoserver?


 

2 Answers, 1 is accepted

Sort by
0
Thomas
Top achievements
Rank 1
answered on 27 Apr 2020, 09:08 AM
This may be the problem of the format parameter: image/png should work fine but PNG is wrong. Sadly, you can't change this without roll your own custom WMS implementation. Currently, the given WMS implementation is close to not usable in real world scenarios.
0
MCanitez
Top achievements
Rank 1
answered on 17 Jul 2020, 01:01 PM
Hi Thomas, I have a problem as you described.I checked it from fiddler and saw it went as png. this is wrong. So how can I change this.

















Tags
Map
Asked by
minchul
Top achievements
Rank 1
Answers by
Thomas
Top achievements
Rank 1
MCanitez
Top achievements
Rank 1
Share this question
or