# Worldmap - How to add geojson building

**URL:** <https://discourse.nodered.org/t/worldmap-how-to-add-geojson-building/1299>\
**Category:** FAQs\
**Created:** [4 July 2018 02:10 UTC](https://discourse.nodered.org/t/worldmap-how-to-add-geojson-building/1299 "2018-07-04T02:10:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mylentisl01](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@mylentisl01](https://discourse.nodered.org/u/mylentisl01)\
**Post date:** [4 July 2018 02:10 UTC](https://discourse.nodered.org/t/worldmap-how-to-add-geojson-building/1299/1 "2018-07-04T02:10:20Z")

</div>

Hi one and all,

I am new to node-red, so sorry if this is a dumb question. (I did search the forum and could not find anything)

My question is does worldmap3d support the extrusion of custom buildings via payload. So for example if I wanted to display the building that’s used in the mapbox demo

> <https://gist.github.com/ryanbaumann/a7d970386ce59d11c16278b90dde094d>

what would the payload command be?

Regards  
Tim

---

<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:** [4 July 2018 07:42 UTC](https://discourse.nodered.org/t/worldmap-how-to-add-geojson-building/1299/2 "2018-07-04T07:42:26Z")

</div>

Here you go - Same as for the 2d version.

```auto
[{"id":"9b909d29.07c24","type":"inject","z":"745a133b.dd6dec","name":"","topic":"Birdhouse","payload":"","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":160,"y":1620,"wires":[["bcd3e780.6c6438"]]},{"id":"bcd3e780.6c6438","type":"http request","z":"745a133b.dd6dec","name":"","method":"GET","ret":"obj","url":"https://gist.githubusercontent.com/ryanbaumann/a7d970386ce59d11c16278b90dde094d/raw/8c384b4e418670a35dc054ab7da6638ff4073a69/indoor_3D_map_example.geojson","tls":"","x":310,"y":1620,"wires":[["d4ab8d40.31c81"]]},{"id":"d4ab8d40.31c81","type":"function","z":"745a133b.dd6dec","name":"","func":"var m = {overlay:msg.topic, geojson:msg.payload, fit:true};\n\nmsg.payload = {command:{map:m, lat:41.86672, lon:-87.61751}};\n\nreturn msg;","outputs":1,"noerr":0,"x":470,"y":1620,"wires":[["fbe1d9e4.7dae38","7312c01f.8c047"]]}]

```

I’ll update the README with a more complete example

---

<div class="post-metadata">

**Author:** ![mylentisl01](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@mylentisl01](https://discourse.nodered.org/u/mylentisl01)\
**Post date:** [5 July 2018 00:28 UTC](https://discourse.nodered.org/t/worldmap-how-to-add-geojson-building/1299/3 "2018-07-05T00:28:50Z")

</div>

Thank you for your prompt response

Regards  
Tim
