# Overlay flat image

**URL:** <https://community.cesium.com/t/overlay-flat-image/31825>\
**Category:** Cesium for Unreal\
**Created:** [April 30, 2024, 4:41pm UTC](https://community.cesium.com/t/overlay-flat-image/31825 "2024-04-30T16:41:13Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ducky](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/ducky/32/19976_2.png) [@Ducky](https://community.cesium.com/u/Ducky)\
**Post date:** [April 30, 2024, 4:41pm UTC](https://community.cesium.com/t/overlay-flat-image/31825/1 "2024-04-30T16:41:13Z")

</div>

Hi, I would like to know if it is possible, and if yes how, to use Cesium google/bing maps, but as a flat image and on a specific zone. I am working on a project of a real scale map, and I need a good quality overlay satellite image to see where to place roads, etc…  
Thank you

---

<div class="post-metadata">

**Author:** ![janine](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/janine/32/5135_2.png) [@janine](https://community.cesium.com/u/janine)\
**Post date:** [May 3, 2024, 3:02pm UTC](https://community.cesium.com/t/overlay-flat-image/31825/2 "2024-05-03T15:02:43Z")

</div>

Hi @Ducky, welcome to the community!

I just want to clarify what you’re asking for. Are you trying to use a 2D map in your application?

If so, I worry that this will be difficult to do with Cesium. By default, Cesium is built around the WGS84 ellipsoid. So even if you had a flat plane, any imagery that is draped on it will be projected as if it were an ellipsoid, which may lead to undesired results.

There is something that _may_ be similar to what you want to do. If you download the [Cesium for Unreal Samples](https://www.unrealengine.com/marketplace/en-US/product/cesium-samples) project, open the `07_CesiumMultiView` sample level. Although the imagery is still draped on Cesium World Terrain, you can use render targets / multiple cameras to get a top-down, minimap view like so:

 ![image](https://global.discourse-cdn.com/cesium/original/3X/1/d/1d9bbe19b49df7e2ba843dfeef1ecc5be40f16bd.jpeg)

Hopefully this is close to what you need! But of course, let me know if I’ve misunderstood your post.

---

<div class="post-metadata">

**Author:** ![Ducky](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/ducky/32/19976_2.png) [@Ducky](https://community.cesium.com/u/Ducky)\
**Post date:** [May 8, 2024, 4:22pm UTC](https://community.cesium.com/t/overlay-flat-image/31825/3 "2024-05-08T16:22:16Z")

</div>

Hello, thank you for your answer. I indeed need a 2d map. I’ve tried what you told me; but I’m not sure to understand. Could explain more or teel me if you have an alternative.  
Thank you

---

<div class="post-metadata">

**Author:** ![BB\_Y](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/bb_y/32/23205_2.png) [@BB\_Y](https://community.cesium.com/u/BB_Y)\
**Post date:** [May 9, 2024, 7:55am UTC](https://community.cesium.com/t/overlay-flat-image/31825/4 "2024-05-09T07:55:33Z")

</div>

I can download it. How many levels of satellite imagery do you need?

---

<div class="post-metadata">

**Author:** ![Ducky](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/ducky/32/19976_2.png) [@Ducky](https://community.cesium.com/u/Ducky)\
**Post date:** [May 9, 2024, 1:16pm UTC](https://community.cesium.com/t/overlay-flat-image/31825/5 "2024-05-09T13:16:53Z")

</div>

four

---

<div class="post-metadata">

**Author:** ![janine](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/janine/32/5135_2.png) [@janine](https://community.cesium.com/u/janine)\
**Post date:** [May 10, 2024, 3:55pm UTC](https://community.cesium.com/t/overlay-flat-image/31825/6 "2024-05-10T15:55:18Z")

</div>

❗ **Please do not download satellite imagery** from Bing or Google unless you have explicit permission to do so. (And I would be surprised if you did.)

Doing so violates both data providers’ terms of service. See below.

[Bing Maps Terms of Service](https://www.microsoft.com/en-us/maps/bing-maps/product) – see Section 5. General Restrictions. You may not " (n). Copy, store, archive, or create a database of Content".  
[Google Maps Terms of Service](https://cloud.google.com/maps-platform/terms) – see 3.2.3 _Restrictions Against Misusing the Services_, which includes “No Scraping”

---

<div class="post-metadata">

**Author:** ![BB\_Y](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/bb_y/32/23205_2.png) [@BB\_Y](https://community.cesium.com/u/BB_Y)\
**Post date:** [May 11, 2024, 5:42am UTC](https://community.cesium.com/t/overlay-flat-image/31825/7 "2024-05-11T05:42:24Z")

</div>

Ok, I see.

---

<div class="post-metadata">

**Author:** ![Ducky](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/ducky/32/19976_2.png) [@Ducky](https://community.cesium.com/u/Ducky)\
**Post date:** [May 11, 2024, 3:57pm UTC](https://community.cesium.com/t/overlay-flat-image/31825/8 "2024-05-11T15:57:33Z")

</div>

Hi, so do you know how to answer my question please : “I indeed need a 2d map. I’ve tried what you told me; but I’m not sure to understand. Could explain more or teel me if you have an alternative.”  
Thank you 🙂

---

<div class="post-metadata">

**Author:** ![janine](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/janine/32/5135_2.png) [@janine](https://community.cesium.com/u/janine)\
**Post date:** [May 13, 2024, 2:23pm UTC](https://community.cesium.com/t/overlay-flat-image/31825/9 "2024-05-13T14:23:17Z")

</div>

Hi @Ducky,

Cesium for Unreal specializes in 3D geospatial and provides tools for building applications around a full-scale, accurate 3D globe. Currently, 2D support is not on our roadmap, so you may have to turn to other tools for importing 2D maps.

However, I can at least explain what is happening in the sample I referenced. In `07_CesiumMultiView`, the pawn that is used to move around the scene in first person, also includes a top-down view of the 3D earth. It does so using a SceneCapture2D instance:

 ![image](https://global.discourse-cdn.com/cesium/original/3X/6/e/6e4f05d7e838e33e35d7bcd2a286bf4e02501693.jpeg)

Whatever this camera sees will be rendered to a texture, aka the Render Target:

 ![image](https://global.discourse-cdn.com/cesium/original/3X/c/5/c5e5f3e01df188b437cd278e21a8c4cf9b0f5cf6.png)

This target is then displayed in the WBP Map Overlay Widget that we created for the samples.

 ![image](https://global.discourse-cdn.com/cesium/original/3X/8/7/87a455090aa56e9beafa9b41b396b298f8089f0c.png)

In summary, the Render Target captures what the SceneCapture2D is seeing, and outputs it to a texture. You can then show on the screen as a Widget. This may not give you a 2D map exactly, but this top-down view is the closest substitute that you can achieve.

Maybe other community members can chime in about solutions they have found for using 2D maps in Unreal? 😄
