# Cesium for unity支持的地图服务协议类型

**URL:** <https://community.cesium.com/t/cesium-for-unity/21566>\
**Category:** Cesium for Unity\
**Created:** [December 13, 2022, 3:14am UTC](https://community.cesium.com/t/cesium-for-unity/21566 "2022-12-13T03:14:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zq12138](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/zq12138/32/3476_2.png) [@zq12138](https://community.cesium.com/u/zq12138)\
**Post date:** [December 13, 2022, 3:14am UTC](https://community.cesium.com/t/cesium-for-unity/21566/1 "2022-12-13T03:14:55Z")

</div>

cesium for unity支持的地图服务类型有哪些，还有url怎么引入离线地图

---

<div class="post-metadata">

**Author:** ![agallegos](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/agallegos/32/4464_2.png) [@agallegos](https://community.cesium.com/u/agallegos)\
**Post date:** [January 6, 2023, 4:56pm UTC](https://community.cesium.com/t/cesium-for-unity/21566/2 "2023-01-06T16:56:30Z")

</div>

Hello @zq12138,

Currently, the supported map services are Tile Map Service (TMS), Web Map Service (WMS), Cesium ion (technically also TMS), and Bing Maps.

To load maps offline, you will need to host the imagery files on a local server. Then, add the appropriate Raster Overlay component and set the URL field to the imagery’s tilemapresource.xml file (for example, `http://localhost:portNumber/imageryAsset/tilemapresource.xml`)

This section of the documentation may be useful -[Adding Datasets – Cesium](https://cesium.com/learn/unity/unity-datasets/#step-4-add-a-3d-tileset-from-a-local-directory)

---

<div class="post-metadata">

**Author:** ![chiqiangzhe](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/chiqiangzhe/32/11604_2.png) [@chiqiangzhe](https://community.cesium.com/u/chiqiangzhe)\
**Post date:** [January 12, 2023, 3:20am UTC](https://community.cesium.com/t/cesium-for-unity/21566/3 "2023-01-12T03:20:55Z")

</div>

Hello, I have three question。  
1.how to change the map service, How to use, is it to replace components directly as shown below?  
 ![image](https://global.discourse-cdn.com/cesium/original/3X/b/9/b9c8999d56708998a8b8ccdc51a1d45136f8e628.png)  
2. How do I use offline maps？

 ![image](https://global.discourse-cdn.com/cesium/original/3X/5/6/567912bee8d79c8c4036d11bc01beffd407454a8.png)  
 ![image](https://global.discourse-cdn.com/cesium/original/2X/d/d2e79da4f962812d21b7ab376295719c79308df9.png)

Is that right？ url is the URL field to the imagery’s tilemapresource.xml file。  
3.TMS is the default service in unity, how can WMS or CesiumWebMapServiceRasterOverlay use？  
\*No test success

---

<div class="post-metadata">

**Author:** ![agallegos](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/agallegos/32/4464_2.png) [@agallegos](https://community.cesium.com/u/agallegos)\
**Post date:** [January 17, 2023, 2:50pm UTC](https://community.cesium.com/t/cesium-for-unity/21566/4 "2023-01-17T14:50:31Z")

</div>

Hello @chiqiangzhe,

The configuration you are showing your screenshots should work. Are you having issues loading the imagery as expected after filling out the URL field of the Web Map Service Raster Overlay component?

---

<div class="post-metadata">

**Author:** ![chiqiangzhe](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/chiqiangzhe/32/11604_2.png) [@chiqiangzhe](https://community.cesium.com/u/chiqiangzhe)\
**Post date:** [January 18, 2023, 2:44pm UTC](https://community.cesium.com/t/cesium-for-unity/21566/5 "2023-01-18T14:44:57Z")

</div>

I want to use arcgis map service,How can I changed?  
Whether I can use the Web Map Service Raster Overlay component ?

---

<div class="post-metadata">

**Author:** ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)\
**Post date:** [January 19, 2023, 6:33am UTC](https://community.cesium.com/t/cesium-for-unity/21566/6 "2023-01-19T06:33:25Z")

</div>

As long as your ArcGIS Map Server has its WMS endpoint enabled, yes, it should work with the WMS raster overlay component.
