# In node red how to hide base map while showing image layer

**URL:** <https://discourse.nodered.org/t/in-node-red-how-to-hide-base-map-while-showing-image-layer/8830>\
**Category:** General\
**Created:** [11 March 2019 10:11 UTC](https://discourse.nodered.org/t/in-node-red-how-to-hide-base-map-while-showing-image-layer/8830 "2019-03-11T10:11:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![VIKRAMAS](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vikramas/32/3955_2.png) [@VIKRAMAS](https://discourse.nodered.org/u/VIKRAMAS)\
**Post date:** [11 March 2019 10:11 UTC](https://discourse.nodered.org/t/in-node-red-how-to-hide-base-map-while-showing-image-layer/8830/1 "2019-03-11T10:11:36Z")

</div>

How to hide the base map from map, I want to show only image layer. Below is the function which sends message to worldmap

```auto
var imageBounds = [[40.712216, -74.22655], [40.773941, -74.12544]];
msg.payload = { command : { lat:40.74, lon:-74.175, zoom:90 ,"hidelayer":"OSM"} };
msg.payload.command.map = {
    overlay: "New York Historical",
    url: 'http://www.lib.utexas.edu/maps/historical/newark_nj_1922.jpg',
    bounds: imageBounds,
    opt: { opacity:1.0, attribution:"&copy; University of Texas" }
};
return msg;

```

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [11 March 2019 12:58 UTC](https://discourse.nodered.org/t/in-node-red-how-to-hide-base-map-while-showing-image-layer/8830/2 "2019-03-11T12:58:10Z")

</div>

see other thread - [How can I map a static image on map](https://discourse.nodered.org/t/how-can-i-map-a-static-image-on-map/8823/)

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [11 March 2019 12:58 UTC](https://discourse.nodered.org/t/in-node-red-how-to-hide-base-map-while-showing-image-layer/8830/3 "2019-03-11T12:58:20Z")

</div>


