# Imagery Layers Manipulation

**URL:** <https://community.cesium.com/t/imagery-layers-manipulation/2716>\
**Category:** CesiumJS\
**Created:** [July 1, 2015, 2:22pm UTC](https://community.cesium.com/t/imagery-layers-manipulation/2716 "2015-07-01T14:22:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aneta\_Prokopicova](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@Aneta\_Prokopicova](https://community.cesium.com/u/Aneta_Prokopicova)\
**Post date:** [July 1, 2015, 2:22pm UTC](https://community.cesium.com/t/imagery-layers-manipulation/2716/1 "2015-07-01T14:22:30Z")

</div>

Hi,

I am asking for a little help. I am working on simple map app using layers toggling exactly as in Sandcastle example "Imagery Layers Manipulation". My question is how to modify the sample code when I want to remove the "BaseLayerOption" function and set "Bing Maps Aerial" like a classic baselayer.

I'd be grateful for any advice.

---

<div class="post-metadata">

**Author:** ![Matt\_Amato](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/matt_amato/32/1993_2.png) [@Matt\_Amato](https://community.cesium.com/u/Matt_Amato)\
**Post date:** [July 6, 2015, 4:12pm UTC](https://community.cesium.com/t/imagery-layers-manipulation/2716/2 "2015-07-06T16:12:39Z")

</div>

Check out this thread which has example code for constucting the base layer picker with whatever options you want and setting the default provider: [https://groups.google.com/d/msg/cesium-dev/2UYkQyA7amU/ULsyQSGbDowJ](https://groups.google.com/d/msg/cesium-dev/2UYkQyA7amU/ULsyQSGbDowJ)
