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

Kendo Map supports limited WMTS

3 Answers 116 Views
Map
This is a migrated thread and some comments may be shown as answers.
Sean
Top achievements
Rank 1
Sean asked on 16 Sep 2014, 01:18 PM
The Kendo UI Map component supports WMTS (Web Map Tile Service) only when the OGC WMTS named and defined TileMatrixSet "GoogleMapsCompatible" is available for the WMTS Layer.

Using this TileMatrixSet the map component can correctly display and place maps. I have found that some tile layers are not completely geo-rectified(the lat/long can be offset by up to a mile) keep that in mind if you are seeing anomalies. For what it is worth, I read that Bing latitude/longitude is more accurate than Google's lat/long and found this to be the case in a limited test.


I have tested this and found it to successfully work using a layer type of MapLayerType.Tile and a URL Template with a KVP or RESTful, KVP example below.
?Service=WMTS&Version=1.0.0&Request=GetTile&Layer=putYourLayerIdentifiedNameHere&Format=image/png&TileMatrixSet=GoogleMapsCompatible&TileMatrix=#= zoom #&TileCol=#= x #&TileRow=#= y #

3 Answers, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 18 Sep 2014, 01:58 PM
Hello Sean,

The Map tile layer will give you the x and y zoom: http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/map#configuration-layerDefaults.tile.urlTemplate

The map doesn't support any other providers except bing(the bing map is base on TileMatrixSet too but he will calculate the tile position via quadkey).

Do you need the lat/lng in the url or something else? I am not sure that I can understand the problem that you have.

Regards,
Hristo Germanov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Sean
Top achievements
Rank 1
answered on 18 Sep 2014, 02:57 PM
I think you misunderstood, I'm not complaining or questioning anything.

I was informing the admins and other users of the map control that it had greater capability than is let on in the documentation. Specifically, it also supports WMTS if the TileMatrixSet of the layer is the OGC defined "GoogleMapsCompatible"

Basically, I am using the Map control successfully against a WMTS server and my original post describes how. I thought other users may need to be able to do this at some point.

0
Hristo Germanov
Telerik team
answered on 19 Sep 2014, 01:48 PM
Hello Sean,

Thank you for this information.

I have updated your telerik points.

Regards,
Hristo Germanov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Map
Asked by
Sean
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Sean
Top achievements
Rank 1
Share this question
or