# Geo Fences in World Map

**URL:** <https://discourse.nodered.org/t/geo-fences-in-world-map/12401>\
**Category:** General\
**Created:** [19 June 2019 16:54 UTC](https://discourse.nodered.org/t/geo-fences-in-world-map/12401 "2019-06-19T16:54:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JhazMedina](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jhazmedina/32/9312_2.png) [@JhazMedina](https://discourse.nodered.org/u/JhazMedina)\
**Post date:** [19 June 2019 16:54 UTC](https://discourse.nodered.org/t/geo-fences-in-world-map/12401/1 "2019-06-19T16:54:50Z")

</div>

Hi everyone, I'm working with worldmap and geofences, is there any way to generate geofences in worldmap and get a reply from the map if my marker is inside or outside the geofence without using the Geofence node/module?  
Any reply is welcome, thanks

---

<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:** [19 June 2019 17:58 UTC](https://discourse.nodered.org/t/geo-fences-in-world-map/12401/2 "2019-06-19T17:58:08Z")

</div>

Short answer no. But the worldmap does have a drawing layer so you can draw the geofence and that gets passed to the backend... you then need to test if the marker is inside it or not using some node or code.

---

<div class="post-metadata">

**Author:** ![JhazMedina](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jhazmedina/32/9312_2.png) [@JhazMedina](https://discourse.nodered.org/u/JhazMedina)\
**Post date:** [19 June 2019 18:26 UTC](https://discourse.nodered.org/t/geo-fences-in-world-map/12401/3 "2019-06-19T18:26:19Z")

</div>

Thanks, that's what I suspected, i've seen that the worldmap has his output, and wanted to know if somehow gives some when marker is out or in from the drawing, thanks for the reply

---

<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:** [19 June 2019 19:27 UTC](https://discourse.nodered.org/t/geo-fences-in-world-map/12401/4 "2019-06-19T19:27:50Z")

</div>

Yes, the output node has quite a few events including adding points, moving points, drawing., deleting , etc

---

<div class="post-metadata">

**Author:** ![yalinsayi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/yalinsayi/32/6127_2.png) [@yalinsayi](https://discourse.nodered.org/u/yalinsayi)\
**Post date:** [29 August 2019 14:59 UTC](https://discourse.nodered.org/t/geo-fences-in-world-map/12401/5 "2019-08-29T14:59:36Z")

</div>

i'm using [tile38](https://tile38.com/) for geofence enter/exit detection. i set webhooks in tile38 with geofence data from worldmap once with http request, and then i feed updated points continously. when an enter/exit event occurs in tile38, it calls node-red back.
