Kendo Map supports limited WMTS

4 posts, 0 answers
  1. Sean
    Sean avatar
    2 posts
    Member since:
    Aug 2014

    Posted 16 Sep 2014 Link to this post

    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 #

  2. Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 18 Sep 2014 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
  4. Sean
    Sean avatar
    2 posts
    Member since:
    Aug 2014

    Posted 18 Sep 2014 Link to this post

    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.

  5. Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 19 Sep 2014 Link to this post

    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!
     
Back to Top
Kendo UI is VS 2017 Ready