# Let's contribute a little towards maplibre interop

**URL:** https://discourse.elm-lang.org/t/lets-contribute-a-little-towards-maplibre-interop/8042
**Category:** Learn
**Created:** [January 2, 2022, 9:57pm UTC](https://discourse.elm-lang.org/t/lets-contribute-a-little-towards-maplibre-interop/8042 "2022-01-02T21:57:29Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![kanishka](https://avatars.discourse-cdn.com/v4/letter/k/3e96dc/32.png) [@kanishka](https://discourse.elm-lang.org/u/kanishka)
#### Post date: [January 2, 2022, 9:57pm UTC](https://discourse.elm-lang.org/t/lets-contribute-a-little-towards-maplibre-interop/8042/1 "2022-01-02T21:57:29Z")

</div>

There was someone interested in having the elm mapbox wrapper library support maplibre. There also was some work on the elm mapbox library in 2019. I am going to try dust off my Elm skills and experiment with the elm mapbox library in this thread, as I get spare time.

Here is the last thread that I could find: [What good libraries are for maps handling](https://discourse.elm-lang.org/t/what-good-libraries-are-for-maps-handling/2769).

I am going to try working through the existing elm mapbox library example instructions first. I will post replies to this thread as I work through it.

I am primarily a backend developer, who has worked in FP languages in the past. I like graph algorithms, geospatial systems, and various applied algorithm topics. I am new to leaflet and mapbox / maplibre.

If I get very far with this thread, it would be nice if I can collaborate with others to document how to get maptiler layers + local postgis/tegola layers + maplibre + elm mapbox library up and running. We’ll see how far it goes. I am up for using codeberg or gitlab (or maybe GitHub if others strongly prefer that) and this forum to collaborate. I am also up for chatting synchronously with people on a matrix channel, if anybody expresses interest.

---

<div class="post-metadata">

### Author: ![kanishka](https://avatars.discourse-cdn.com/v4/letter/k/3e96dc/32.png) [@kanishka](https://discourse.elm-lang.org/u/kanishka)
#### Post date: [January 3, 2022, 3:05am UTC](https://discourse.elm-lang.org/t/lets-contribute-a-little-towards-maplibre-interop/8042/2 "2022-01-03T03:05:05Z")

</div>

[Example01.elm](https://codeberg.org/reading-list/elm-mapbox/src/branch/master/examples/Example01.elm) worked for me. I updated the elm-version to 0.19.1. I added “gampleman/elm-mapbox” as an elm dependency. I hardcoded the Mapbox token to use my token. I updated the index.js to reference Example01 instead of Example02. I ended up with the following newer npm deps:

```auto
  "devDependencies": {
    "elm": "^0.19.1-5",
    "elm-hot": "^1.1.6",
    "node-elm-compiler": "^5.0.6",
    "parcel-bundler": "^1.12.5"
  },
  "dependencies": {
    "elm-mapbox": "^4.1.0",
    "mapbox-gl": "^1.0.0"
  }

```

I am going to try building Example01 directly with the library source code, instead of referencing elm-mapbox as a published dependency. Once I figure that out, I will try the generic web instructions for swapping in maplibre.

---

<div class="post-metadata">

### Author: ![robvdb](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/robvdb/32/4428_2.png) [@robvdb](https://discourse.elm-lang.org/u/robvdb)
#### Post date: [January 12, 2022, 11:59am UTC](https://discourse.elm-lang.org/t/lets-contribute-a-little-towards-maplibre-interop/8042/3 "2022-01-12T11:59:23Z")

</div>

I am also interested in collaborating on this: For the moment we are using maplibre with maptiler outside of Elm. I would like to join the proposed matrix channel.

---

<div class="post-metadata">

### Author: ![kanishka](https://avatars.discourse-cdn.com/v4/letter/k/3e96dc/32.png) [@kanishka](https://discourse.elm-lang.org/u/kanishka)
#### Post date: [January 12, 2022, 3:56pm UTC](https://discourse.elm-lang.org/t/lets-contribute-a-little-towards-maplibre-interop/8042/4 "2022-01-12T15:56:35Z")

</div>

I have never created a matrix room before, but here is my attempt: [https://matrix.to/#/#elm-maplibre:matrix.org](https://matrix.to/#/#elm-maplibre:matrix.org)

I am juggling golang training, interviews, and this, so I will be sporadically returning to this thread and chatting in the channel. If anybody feels a burst of inspiration to make progress at a certain moment, I can pause my other tasks and focus on this synchronously with people on the channel or here, just send a message here or on the channel with a day and time (+timezone).

---

<div class="post-metadata">

### Author: ![gampleman](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/gampleman/32/43_2.png) [@gampleman](https://discourse.elm-lang.org/u/gampleman)
#### Post date: [January 12, 2022, 6:41pm UTC](https://discourse.elm-lang.org/t/lets-contribute-a-little-towards-maplibre-interop/8042/5 "2022-01-12T18:41:24Z")

</div>

Also note that there is a dedicated #maps channel on Slack for this sort of thing.

---

<div class="post-metadata">

### Author: ![kanishka](https://avatars.discourse-cdn.com/v4/letter/k/3e96dc/32.png) [@kanishka](https://discourse.elm-lang.org/u/kanishka)
#### Post date: [January 13, 2022, 3:25am UTC](https://discourse.elm-lang.org/t/lets-contribute-a-little-towards-maplibre-interop/8042/6 "2022-01-13T03:25:27Z")

</div>

Thanks! I am actively choosing matrix/zulip/discourse when possible, to stay closer to open source. I usually only use slack when my work forces me to.

---

<div class="post-metadata">

### Author: ![gampleman](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/gampleman/32/43_2.png) [@gampleman](https://discourse.elm-lang.org/u/gampleman)
#### Post date: [January 13, 2022, 8:47am UTC](https://discourse.elm-lang.org/t/lets-contribute-a-little-towards-maplibre-interop/8042/7 "2022-01-13T08:47:33Z")

</div>

For sure. I was more pointing this out since the slack channel is a few years old and has about a 100 people on it presumably at least somewhat interested in maps. So might be a good place to reach them if you want feedback, help or just users.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex035/uploads/elm_lang/original/1X/50a05e53677a2c3b47776d7abd0f113eb50193a1.png) [@system](https://discourse.elm-lang.org/u/system)
#### Post date: [January 23, 2022, 8:48am UTC](https://discourse.elm-lang.org/t/lets-contribute-a-little-towards-maplibre-interop/8042/8 "2022-01-23T08:48:00Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
