# Plotting coordinates on the map (unfoldingmap)

**URL:** <https://discourse.processing.org/t/plotting-coordinates-on-the-map-unfoldingmap/34773>\
**Category:** Libraries\
**Created:** [January 21, 2022, 9:06am UTC](https://discourse.processing.org/t/plotting-coordinates-on-the-map-unfoldingmap/34773 "2022-01-21T09:06:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![YueLiang](https://avatars.discourse-cdn.com/v4/letter/y/ba9def/32.png) [@YueLiang](https://discourse.processing.org/u/YueLiang)\
**Post date:** [January 21, 2022, 9:06am UTC](https://discourse.processing.org/t/plotting-coordinates-on-the-map-unfoldingmap/34773/1 "2022-01-21T09:06:58Z")

</div>

Hello everyone  
Does anyone know if there are any libraries to build a route on the map?  
Search on the internet did not give anything, there are some examples with unfoldingmap but this library has not been updated for several years and does not run on processing 3 and processing 4.  
Are there any newer libraries with similar functionality?

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [January 21, 2022, 8:51pm UTC](https://discourse.processing.org/t/plotting-coordinates-on-the-map-unfoldingmap/34773/2 "2022-01-21T20:51:33Z")

</div>

Hi @YueLiang,

Welcome to the forum! 😉

Since the unfoldingmap library is not maintained anymore, I would go for a web library instead like Mappa.js:

> **[Mappa.js · A canvas wrapper for Maps](https://mappa.js.org/)**
>
> A canvas wrapper for Maps

And a p5.js example:

> **[tl;dr with p5.js · Mappa.js](https://mappa.js.org/docs/tldr-p5.html)**
>
> Quick reference:

---

<div class="post-metadata">

**Author:** ![YueLiang](https://avatars.discourse-cdn.com/v4/letter/y/ba9def/32.png) [@YueLiang](https://discourse.processing.org/u/YueLiang)\
**Post date:** [January 22, 2022, 6:59am UTC](https://discourse.processing.org/t/plotting-coordinates-on-the-map-unfoldingmap/34773/3 "2022-01-22T06:59:23Z")

</div>

Hi, thank for your respond!  
Interesting thing, but how to connect the p5 with the processing? I’m making a dashboard for the robot, route building, direction, radar etc. The program is almost done.  
As I understand it, what you suggest has a bit different format, not compatible with my original plan.  
And i have no idea how to combine mappa.js with my project.

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [January 22, 2022, 9:34pm UTC](https://discourse.processing.org/t/plotting-coordinates-on-the-map-unfoldingmap/34773/4 "2022-01-22T21:34:44Z")

</div>

Yes you are right, Mapp.js is a JavaScript library not a Processing Java one. Either you switch to a web version (but you already did some work) or find a way of exporting your data from Processing (JSON?) and use that to display your map in the browser or you find an alternative in Java 😉
