{
  "id": "019fdd4e-74f5-73db-b0e8-57bf2c89bc86",
  "type": "post",
  "thread": [
    {
      "id": "019fdd4e-74f5-73db-b0e8-57bf2c89bc86",
      "depth": 0,
      "author": "SEBASTIEN PORTRAIT",
      "url": "https://vutuv.de/sebastien_portrait/posts/019fdd4e-74f5-73db-b0e8-57bf2c89bc86",
      "published_on": "2026-08-07",
      "body_markdown": "# **Rover — Interactive maps for Phoenix LiveView**\n\nRover is a Phoenix LiveView component for interactive maps. It wraps [OpenLayers](https://openlayers.org/) — a serious GIS engine with projections, WMS/WMTS, vector layers, cadastral data, etc. — and removes the ceremony most Phoenix applications don’t need.\n\n## **What it does**\n\n```\n<.map\n  id=\"parcels\"\n  center={{45.75, 4.85}}\n  zoom={12}\n  markers={@clients}\n  shapes={@parcels}\n  tiles={:ign_ortho}\n/>\n\n\n```\n\nAssign a list of maps, get a map.\n\nChange the list, and Rover diffs by ID and updates only what changed — no flicker, no interrupted pan, no popups unexpectedly closing and reopening.\n\n**Markers:** any struct with `:id`, `:lat`, and `:lon`. Optional emoji, custom colors, draggable pins, and popups (HEEx slots, escaped by default).\n\n**Shapes:** GeoJSON from `ST_AsGeoJSON` or your own data. Shapes are diffed by revision rather than hashing, so updating thousands of points stays efficient.\n\n**Clustering** for hundreds of markers.\\\n**Heatmaps** for density analysis.\\\n**Popups on shapes** that point to the geometry rather than its centroid.\\\n**View control** without losing declarative framing with `Rover.fly_to/4` and `Rover.fit_to/4`.\n\nRover also has built-in support for **IGN Géoportail**, including French cadastral maps and aerial orthophotography.\n\n## **Why not just write a hook?**\n\nYou can — and the first version is short.\n\nThen you fix reconciliation, coordinate order, viewport framing, attribution, element ID changes, flickering, and all the little edge cases that appear once the map becomes part of a real application.\n\nThat’s the layer Rover is trying to provide.\n\nOpenLayers itself is the bet underneath it.\n\nThree pins on a tile layer is an afternoon’s work. The next morning you need WMS layers, a cadastral overlay, vector data, clustering, or another projection — and suddenly the ceiling has moved somewhere else.\n\nOpenLayers can handle that. Rover tries to make it feel natural from Phoenix LiveView.\n\n## **Try it**\n\n**Livebook demo**\n\n[Run Rover in Livebook](https://livebook.dev/run/?url=https%3A%2F%2Fgithub.com%2FnseaSeb%2Frover%2Fblob%2Fmain%2Fnotebooks%2Frover.livemd)\n\n**Documentation**\n\n[Rover v0.3.0 — HexDocs](https://rover.hexdocs.pm/)\n\n**Source**\n\n[GitHub — nseaSeb/rover](https://github.com/nseaSeb/rover)\n\nRover is open source and still evolving. Feedback, ideas, and criticism are welcome.",
      "author_username": "sebastien_portrait",
      "in_reply_to_author": null,
      "in_reply_to_id": null
    },
    {
      "id": "019fde1f-183c-7391-8acd-2c885b997237",
      "depth": 1,
      "author": "Stefan Wintermeyer",
      "url": "https://vutuv.de/wintermeyer/posts/019fde1f-183c-7391-8acd-2c885b997237",
      "published_on": "2026-08-07",
      "body_markdown": "WOW! Great work!",
      "author_username": "wintermeyer",
      "in_reply_to_author": "SEBASTIEN PORTRAIT",
      "in_reply_to_id": "019fdd4e-74f5-73db-b0e8-57bf2c89bc86"
    }
  ],
  "description": "# **Rover — Interactive maps for Phoenix LiveView**",
  "title": "SEBASTIEN PORTRAIT · 2026-08-07",
  "author": {
    "name": "SEBASTIEN PORTRAIT",
    "username": "sebastien_portrait",
    "url": "https://vutuv.de/sebastien_portrait"
  },
  "replies": [
    {
      "author": "Stefan Wintermeyer",
      "url": "https://vutuv.de/wintermeyer/posts/019fde1f-183c-7391-8acd-2c885b997237",
      "published_on": "2026-08-07",
      "body_markdown": "WOW! Great work!",
      "author_username": "wintermeyer"
    }
  ],
  "url": "https://vutuv.de/sebastien_portrait/posts/019fdd4e-74f5-73db-b0e8-57bf2c89bc86",
  "formats": {
    "json": "https://vutuv.de/sebastien_portrait/posts/019fdd4e-74f5-73db-b0e8-57bf2c89bc86.json",
    "text": "https://vutuv.de/sebastien_portrait/posts/019fdd4e-74f5-73db-b0e8-57bf2c89bc86.txt",
    "markdown": "https://vutuv.de/sebastien_portrait/posts/019fdd4e-74f5-73db-b0e8-57bf2c89bc86.md",
    "xml": "https://vutuv.de/sebastien_portrait/posts/019fdd4e-74f5-73db-b0e8-57bf2c89bc86.xml"
  },
  "tags": [
    "Elixir",
    "library",
    "phoenix",
    "LiveView"
  ],
  "in_reply_to": null,
  "like_count": 2,
  "generated_at": "2026-08-10T17:08:24Z",
  "schema_version": 3,
  "published_on": "2026-08-07",
  "images": [],
  "review": null,
  "license": null,
  "fediverse_reaction_count": 0,
  "reply_count": 1,
  "fediverse_replies": [],
  "body_markdown": "# **Rover — Interactive maps for Phoenix LiveView**\n\nRover is a Phoenix LiveView component for interactive maps. It wraps [OpenLayers](https://openlayers.org/) — a serious GIS engine with projections, WMS/WMTS, vector layers, cadastral data, etc. — and removes the ceremony most Phoenix applications don’t need.\n\n## **What it does**\n\n```\n<.map\n  id=\"parcels\"\n  center={{45.75, 4.85}}\n  zoom={12}\n  markers={@clients}\n  shapes={@parcels}\n  tiles={:ign_ortho}\n/>\n\n\n```\n\nAssign a list of maps, get a map.\n\nChange the list, and Rover diffs by ID and updates only what changed — no flicker, no interrupted pan, no popups unexpectedly closing and reopening.\n\n**Markers:** any struct with `:id`, `:lat`, and `:lon`. Optional emoji, custom colors, draggable pins, and popups (HEEx slots, escaped by default).\n\n**Shapes:** GeoJSON from `ST_AsGeoJSON` or your own data. Shapes are diffed by revision rather than hashing, so updating thousands of points stays efficient.\n\n**Clustering** for hundreds of markers.\\\n**Heatmaps** for density analysis.\\\n**Popups on shapes** that point to the geometry rather than its centroid.\\\n**View control** without losing declarative framing with `Rover.fly_to/4` and `Rover.fit_to/4`.\n\nRover also has built-in support for **IGN Géoportail**, including French cadastral maps and aerial orthophotography.\n\n## **Why not just write a hook?**\n\nYou can — and the first version is short.\n\nThen you fix reconciliation, coordinate order, viewport framing, attribution, element ID changes, flickering, and all the little edge cases that appear once the map becomes part of a real application.\n\nThat’s the layer Rover is trying to provide.\n\nOpenLayers itself is the bet underneath it.\n\nThree pins on a tile layer is an afternoon’s work. The next morning you need WMS layers, a cadastral overlay, vector data, clustering, or another projection — and suddenly the ceiling has moved somewhere else.\n\nOpenLayers can handle that. Rover tries to make it feel natural from Phoenix LiveView.\n\n## **Try it**\n\n**Livebook demo**\n\n[Run Rover in Livebook](https://livebook.dev/run/?url=https%3A%2F%2Fgithub.com%2FnseaSeb%2Frover%2Fblob%2Fmain%2Fnotebooks%2Frover.livemd)\n\n**Documentation**\n\n[Rover v0.3.0 — HexDocs](https://rover.hexdocs.pm/)\n\n**Source**\n\n[GitHub — nseaSeb/rover](https://github.com/nseaSeb/rover)\n\nRover is open source and still evolving. Feedback, ideas, and criticism are welcome.",
  "bookmark_count": 0,
  "fediverse_like_count": 0,
  "fediverse_reactions": [],
  "fediverse_reply_count": 0,
  "fediverse_repost_count": 0,
  "likers": [
    {
      "name": "Michael Schmidt",
      "username": "michael_schmidt",
      "url": "https://vutuv.de/michael_schmidt"
    },
    {
      "name": "Stefan Wintermeyer",
      "username": "wintermeyer",
      "url": "https://vutuv.de/wintermeyer"
    }
  ],
  "repost_count": 1,
  "thread_truncated": false,
  "verified_author_links": []
}
