{
  "id": "task_libraries:maps/javascript",
  "path": "/exapedia/javascript-maps-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "JavaScript maps libraries",
  "answer": [
    {
      "t": "text",
      "text": "JavaScript map libraries draw interactive maps in the browser from tiles, vector data, and map styles. A renderer either places raster tiles and DOM layers on a flat map or draws vector data on the GPU with WebGL. These libraries let apps show store locators, delivery routes, and geographic data on maps that users can pan and zoom."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "JavaScript maps libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#leaflet",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F129"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F130"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F131"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#maplibre-gl-js",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F147"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F154"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#googlemaps-js-api-loader",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F160"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F164"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#mapbox-gl-js",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F176"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F180"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#deck-gl-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F189"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#openlayers",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F209"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F216"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#cesium",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F222"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F231"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F226"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#arcgis-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F241"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F245"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "npm"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#leaflet",
          "label": [
            {
              "t": "fact",
              "fact": "F1"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F2"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Globe view",
            "Point clustering"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#leaflet",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F129"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F137"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F138"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#maplibre-gl-js",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F147"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#googlemaps-js-api-loader",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F160"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F170"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#mapbox-gl-js",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F176"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#deck-gl-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F189"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#openlayers",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F209"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F217"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#cesium",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F222"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F232"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F233"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#arcgis-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F241"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F250"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "leaflet",
          "name": [
            {
              "t": "fact",
              "fact": "F129"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/Leaflet/Leaflet"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/leaflet"
            },
            {
              "label": "Docs",
              "href": "https://leafletjs.com/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F12"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F130"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F131"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://leafletjs.com/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F129"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F20"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/jupyter-widgets/ipyleaflet",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F145"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "typescript",
              "code": "_processLuminoMessage(msg: Message, _super: Function) {\n    _super.call(this, msg);\n    if (!this.obj) return;\n    switch (msg.type) {\n      case 'resize':\n        // We set the dirty flag to true to prevent the sub-pixel error\n        // on the new center to be reflected on the model.\n        this.dirty = true;\n        // On the pan option:\n        // `pan=true`  causes the center to be unchanged upon resize (up\n        // to sub-pixel differences)\n        // `pan=false` corresponds to having to top-left corner\n        // unchanged.\n        this.obj.invalidateSize({\n          animate: false,\n          pan: true,\n        });\n        this.dirty = false;\n        break;\n      case 'after-show':\n        this.dirty = true;\n        // If we are in a jupyter-widget tab, we get an after-show before\n        // this.displayed is resolved. In this case, obj is not created yet.\n        this.obj.invalidateSize({\n          animate: false,\n          pan: true,\n        });\n        this.dirty = false;\n        break;\n    }\n  }",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/jupyter-widgets/ipyleaflet/blob/612f4ebb800e50c0bae84e4d2b6bd3e622b7a12c/python/jupyter_leaflet/src/Map.ts#L460-L490",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F144"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20projects%20using%20leaflet%20for%20widget%20resize%20handling%2C%20loaded-style%20synchronization%20and%20terrain%20source%20checks&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F129"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "typescript",
              "code": "import * as L from 'leaflet';\nimport 'leaflet/dist/leaflet.css';\nconst map = L.map('map').setView([51.505, -0.09], 13);\nL.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', { attribution: '&copy; <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors' }).addTo(map);\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://leafletjs.com/reference-1.9.4.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "example.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F134"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "maplibre-gl-js",
          "name": [
            {
              "t": "fact",
              "fact": "F147"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/maplibre/maplibre-gl-js"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/maplibre-gl"
            },
            {
              "label": "Docs",
              "href": "https://maplibre.org/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F38"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F154"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://maplibre.org/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F147"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F45"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F46"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "typescript",
              "code": "import { Map } from 'maplibre-gl';\nimport 'maplibre-gl/dist/maplibre-gl.css';\nconst map = new Map({ container: 'map', style: 'https://demotiles.maplibre.org/style.json', center: [0, 0], zoom: 2 });\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://maplibre.org/maplibre-gl-js/docs/API/classes/Map/",
                  "label": [
                    {
                      "t": "text",
                      "text": "Map.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20projects%20using%20maplibre-gl%20for%20widget%20resize%20handling%2C%20loaded-style%20synchronization%20and%20terrain%20source%20checks&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F147"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F152"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "googlemaps-js-api-loader",
          "name": [
            {
              "t": "fact",
              "fact": "F160"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/googlemaps/js-api-loader"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@googlemaps/js-api-loader"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F167"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F163"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/googlemaps/js-api-loader",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F160"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "typescript",
              "code": "import { setOptions, importLibrary } from '@googlemaps/js-api-loader';\nsetOptions({ key: 'YOUR_API_KEY', v: 'weekly' });\nconst { Map } = await importLibrary('maps');\nconst map = new Map(document.getElementById('map'), { center: { lat: 0, lng: 0 }, zoom: 2 });\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/googlemaps/js-api-loader",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40googlemaps/js-api-loader%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F160"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F165"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "mapbox-gl-js",
          "name": [
            {
              "t": "fact",
              "fact": "F176"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/mapbox/mapbox-gl-js"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/mapbox-gl"
            },
            {
              "label": "Docs",
              "href": "https://github.com/mapbox/mapbox-gl-js#readme"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F65"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F179"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/mapbox/mapbox-gl-js#readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F176"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F68"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F69"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F70"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F71"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F72"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F73"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "typescript",
              "code": "import mapboxgl from 'mapbox-gl';\nimport 'mapbox-gl/dist/mapbox-gl.css';\nmapboxgl.accessToken = 'YOUR_MAPBOX_ACCESS_TOKEN';\nconst map = new mapboxgl.Map({ container: 'map', style: 'mapbox://styles/mapbox/standard', center: [0, 0], zoom: 2 });\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://docs.mapbox.com/mapbox-gl-js/api/map/",
                  "label": [
                    {
                      "t": "text",
                      "text": "map.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20projects%20using%20mapbox-gl%20for%20widget%20resize%20handling%2C%20loaded-style%20synchronization%20and%20terrain%20source%20checks&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F176"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F181"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "deck-gl-core",
          "name": [
            {
              "t": "fact",
              "fact": "F189"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/visgl/deck.gl"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@deck.gl/core"
            },
            {
              "label": "Docs",
              "href": "https://deck.gl"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F196"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://deck.gl",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F189"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F207"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F208"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/keplergl/kepler.gl",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F207"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "typescript",
              "code": "export function pointToPolygonGeo({\n  object,\n  cellSize,\n  coverage,\n  properties,\n  mapState,\n  coordinate\n}: {\n  object: any;\n  cellSize: number;\n  coverage: number;\n  properties?: any;\n  mapState: MapState;\n  coordinate?: number[];\n}) {\n  const position = object.position || coordinate;\n  const viewport = new WebMercatorViewport(mapState);\n\n  if (!position) {\n    return null;\n  }\n\n  return {\n    geometry: {\n      coordinates: [\n        viewport.addMetersToLngLat(position, [\n          cellSize * (0.5 - coverage / 2),\n          cellSize * (0.5 - coverage / 2)\n        ]),\n        viewport.addMetersToLngLat(position, [\n          cellSize * (0.5 + coverage / 2),\n          cellSize * (0.5 - coverage / 2)\n        ]),\n        viewport.addMetersToLngLat(position, [\n          cellSize * (0.5 + coverage / 2),\n          cellSize * (0.5 + coverage / 2)\n        ]),\n        viewport.addMetersToLngLat(position, [\n          cellSize * (0.5 - coverage / 2),\n          cellSize * (0.5 + coverage / 2)\n        ]),\n        viewport.addMetersToLngLat(position, [\n          cellSize * (0.5 - coverage / 2),\n          cellSize * (0.5 - coverage / 2)\n        ])\n      ],\n      type: 'LineString'\n    },\n    properties\n  };\n}",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/keplergl/kepler.gl/blob/21d68ea38b4410d1275516f27fef7442419958b1/src/layers/src/grid-layer/grid-utils.ts",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F206"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40deck.gl/core%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F189"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "typescript",
              "code": "import { Deck } from '@deck.gl/core';\nimport { ScatterplotLayer } from '@deck.gl/layers';\nconst deck = new Deck({\n  parent: document.getElementById('map'),\n  initialViewState: { longitude: -0.1, latitude: 51.5, zoom: 10 }, controller: true,\n  layers: [new ScatterplotLayer({ id: 'point', data: [[-0.1, 51.5]], getPosition: d => d, getRadius: 1000, getFillColor: [255, 0, 0] })]\n});\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://deck.gl/docs/api-reference/core/deck",
                  "label": [
                    {
                      "t": "text",
                      "text": "deck.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F194"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "openlayers",
          "name": [
            {
              "t": "fact",
              "fact": "F209"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/openlayers/openlayers"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/ol"
            },
            {
              "label": "Docs",
              "href": "https://openlayers.org/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F92"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F216"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://openlayers.org/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F209"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F93"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F94"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F95"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F96"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F97"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F98"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import Map from 'ol/Map.js';\nimport View from 'ol/View.js';\nimport TileLayer from 'ol/layer/Tile.js';\nimport OSM from 'ol/source/OSM.js';\nimport 'ol/ol.css';\nconst map = new Map({ target: 'map', layers: [new TileLayer({ source: new OSM() })], view: new View({ center: [0, 0], zoom: 2 }) });\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/openlayers/openlayers/blob/88fc44564552176b761dbb9531f9977386d041c0/examples/cluster.js",
                  "label": [
                    {
                      "t": "text",
                      "text": "quickstart.html"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20projects%20using%20ol%20for%20widget%20resize%20handling%2C%20loaded-style%20synchronization%20and%20terrain%20source%20checks&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F209"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F214"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "cesium",
          "name": [
            {
              "t": "fact",
              "fact": "F222"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/CesiumGS/cesium"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/cesium"
            },
            {
              "label": "Docs",
              "href": "http://cesium.com/cesiumjs/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F229"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F231"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F225"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "http://cesium.com/cesiumjs/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F222"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F239"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F240"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/openlayers/ol-cesium",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F239"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "setPosition(position: number[]) {\n    if (!this.toLonLat_) {\n      return;\n    }\n    const ll = this.toLonLat_(position);\n    console.assert(!!ll);\n\n    const carto = new Cesium.Cartographic(\n      toRadians(ll[0]),\n      toRadians(ll[1]),\n      this.getAltitude(),\n    );\n\n    this.cam_.setView({\n      destination: Cesium.Ellipsoid.WGS84.cartographicToCartesian(carto),\n    });\n    this.updateView();\n  }\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/openlayers/ol-cesium/blob/5fe9a69943a20d7734f7d2e6efb35d0e54c552a8/src/olcs/Camera.ts#L202-L219",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F238"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=cesium%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F222"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { Viewer } from 'cesium';\nimport 'cesium/Build/Cesium/Widgets/widgets.css';\nwindow.CESIUM_BASE_URL = '/cesium/';\nconst viewer = new Viewer('map', { baseLayer: false, baseLayerPicker: false, geocoder: false });\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cesium.com/learn/cesiumjs/ref-doc/Viewer.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "Viewer.html"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F227"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "arcgis-core",
          "name": [
            {
              "t": "fact",
              "fact": "F241"
            }
          ],
          "links": [
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@arcgis/core"
            },
            {
              "label": "Docs",
              "href": "https://js.arcgis.com"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F248"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://js.arcgis.com",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F241"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F257"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F258"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/Esri/jsapi-resources",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F257"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "const addLegend = () => {\n  // Add legend div to the map\n  document.getElementById(\"customLegend\").style.display = \"block\";\n\n  // Add center symbol to legend\n  symbolUtils.renderPreviewHTML(markerSymbol, {\n    node: document.getElementById(\"centerPointDiv\"),\n    size: { width: 10, height: 10 },\n    symbolConfig: { isSquareFill: true },\n  });\n\n  // Add query buffer symbol to legend\n  symbolUtils.renderPreviewHTML(greenLineSymbol, {\n    node: document.getElementById(\"queryBufferDiv\"),\n  });\n\n  // Add river symbol to legend\n  symbolUtils.renderPreviewHTML(blueLineSymbol, {\n    node: document.getElementById(\"riversAndStreamsDiv\"),\n  });\n\n  // Add river buffer symbol to legend\n  symbolUtils.renderPreviewHTML(redLineSymbol, {\n    node: document.getElementById(\"buffersDiv\"),\n  });\n};",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/Esri/jsapi-resources/blob/6dbedffd2890e4856a105a20b064ef87c8417cd6/templates/geometry-operator-worker/src/main.js#L110-L135",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F256"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40arcgis/core%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F241"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import WebMap from '@arcgis/core/WebMap.js';\nimport esriConfig from '@arcgis/core/config.js';\nesriConfig.request.useIdentity = false;\nconst map = new WebMap({ portalItem: { id: '3d52817a120b477db912add2e62ef9b6' } });\nawait map.load();\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/Esri/jsapi-resources/blob/6dbedffd2890e4856a105a20b064ef87c8417cd6/templates/js-maps-sdk-node/webmap.js",
                  "label": [
                    {
                      "t": "text",
                      "text": "webmap.js"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F246"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which JavaScript map library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#leaflet",
          "label": [
            {
              "t": "text",
              "text": "Leaflet"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits interactive flat maps with markers and popups. "
        },
        {
          "t": "link",
          "href": "#maplibre-gl-js",
          "label": [
            {
              "t": "text",
              "text": "MapLibre GL JS"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits vector-tile maps rendered with WebGL. "
        },
        {
          "t": "link",
          "href": "#cesium",
          "label": [
            {
              "t": "text",
              "text": "CesiumJS"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits three-dimensional globes."
        }
      ]
    },
    {
      "q": "Leaflet vs Mapbox: which should I use?",
      "a": [
        {
          "t": "link",
          "href": "#leaflet",
          "label": [
            {
              "t": "text",
              "text": "Leaflet"
            }
          ]
        },
        {
          "t": "text",
          "text": " builds maps from raster tiles and DOM layers without an account. "
        },
        {
          "t": "link",
          "href": "#mapbox-gl-js",
          "label": [
            {
              "t": "text",
              "text": "Mapbox GL JS"
            }
          ]
        },
        {
          "t": "text",
          "text": " renders vector maps with WebGL and requires an active Mapbox account under the Mapbox terms of service."
        }
      ]
    },
    {
      "q": "MapLibre vs Mapbox: which should I use?",
      "a": [
        {
          "t": "link",
          "href": "#maplibre-gl-js",
          "label": [
            {
              "t": "text",
              "text": "MapLibre GL JS"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a BSD-licensed community fork of Mapbox GL JS. "
        },
        {
          "t": "link",
          "href": "#mapbox-gl-js",
          "label": [
            {
              "t": "text",
              "text": "Mapbox GL JS"
            }
          ]
        },
        {
          "t": "text",
          "text": " requires a Mapbox account and the Mapbox terms of service."
        }
      ]
    },
    {
      "q": "What is OpenLayers?",
      "a": [
        {
          "t": "link",
          "href": "#openlayers",
          "label": [
            {
              "t": "text",
              "text": "OpenLayers"
            }
          ]
        },
        {
          "t": "text",
          "text": " displays raster and vector geospatial data with configurable map projections. A separate bridge, OL-Cesium, adds a globe view."
        }
      ]
    },
    {
      "q": "What is CesiumJS?",
      "a": [
        {
          "t": "link",
          "href": "#cesium",
          "label": [
            {
              "t": "text",
              "text": "CesiumJS"
            }
          ]
        },
        {
          "t": "text",
          "text": " creates three-dimensional globes and two-dimensional maps in a web browser. It can load external terrain and imagery into its scene."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, leaflet",
      "display": "Leaflet",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, leaflet",
      "display": "43.5M",
      "asOf": "2026-11-15"
    },
    "F3": {
      "label": "License, leaflet",
      "display": "BSD-2-Clause",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, leaflet",
      "display": "1.9.4",
      "asOf": "2026-11-17"
    },
    "F5": {
      "label": "Undated package release, leaflet",
      "display": "v1.9.4",
      "asOf": "2026-11-17"
    },
    "F6": {
      "label": "Repository stars, leaflet",
      "display": "45.9K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Vector tiles, leaflet",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Raster tiles, leaflet",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Custom overlays, leaflet",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Clustering, leaflet",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Install, leaflet",
      "display": "npm install leaflet",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "What it does, leaflet",
      "display": "Builds interactive maps with raster tiles, markers, geometry overlays, and popups.",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths lead, leaflet",
      "display": "Adds raster tiles and markers",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths, leaflet",
      "display": "Combine tile layers, markers, and popups through a compact map API.",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths lead, leaflet",
      "display": "Draws interactive geometric overlays",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths, leaflet",
      "display": "Add circles and polygons with popups and map event handlers.",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations lead, leaflet",
      "display": "Vector tiles need a plugin",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations, leaflet",
      "display": "Add VectorGrid when the map must display tiled vector data.",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations lead, leaflet",
      "display": "Marker clustering needs a plugin",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "limitations, leaflet",
      "display": "Add MarkerCluster when dense point layers need grouped markers.",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Quickstart, leaflet",
      "display": "<div id='map' style='width: 600px; height: 400px;'></div>\r\n<script>\r\n\r\n\tvar map = L.map('map').setView([51.505, -0.09], 13);\r\n\r\n\tvar tiles = L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {\n\t\tmaxZoom: 19,\r\n\t\tattribution: '&copy; <a href=\"http://www.openstreetmap.org/copyright\">OpenStreetMap</a>'\r\n\t}).addTo(map);\r\n\r\n\tvar marker = L.marker([51.5, -0.09]).addTo(map)\r\n\t\t.bindPopup('<b>Hello world!</b><br />I am a popup.').openPopup();\r\n\r\n\tvar circle = L.circle([51.508, -0.11], {\r\n\t\tcolor: 'red',\r\n\t\tfillColor: '#f03',\r\n\t\tfillOpacity: 0.5,\r\n\t\tradius: 500\r\n\t}).addTo(map).bindPopup('I am a circle.');\r\n\r\n\tvar polygon = L.polygon([\r\n\t\t[51.509, -0.08],\r\n\t\t[51.503, -0.06],\r\n\t\t[51.51, -0.047]\r\n\t]).addTo(map).bindPopup('I am a polygon.');\r\n\r\n\r\n\tvar popup = L.popup()\r\n\t\t.setLatLng([51.513, -0.09])\r\n\t\t.setContent('I am a standalone popup.')\r\n\t\t.openOn(map);\r\n\r\n\tfunction onMapClick(e) {\r\n\t\tpopup\r\n\t\t\t.setLatLng(e.latlng)\r\n\t\t\t.setContent('You clicked the map at ' + e.latlng.toString())\r\n\t\t\t.openOn(map);\r\n\t}\r\n\r\n\tmap.on('click', onMapClick);\r\n\r\n</script>\r\n",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project function, leaflet",
      "display": "_processLuminoMessage(msg: Message, _super: Function) {\n    _super.call(this, msg);\n    if (!this.obj) return;\n    switch (msg.type) {\n      case 'resize':\n        // We set the dirty flag to true to prevent the sub-pixel error\n        // on the new center to be reflected on the model.\n        this.dirty = true;\n        // On the pan option:\n        // `pan=true`  causes the center to be unchanged upon resize (up\n        // to sub-pixel differences)\n        // `pan=false` corresponds to having to top-left corner\n        // unchanged.\n        this.obj.invalidateSize({\n          animate: false,\n          pan: true,\n        });\n        this.dirty = false;\n        break;\n      case 'after-show':\n        this.dirty = true;\n        // If we are in a jupyter-widget tab, we get an after-show before\n        // this.displayed is resolved. In this case, obj is not created yet.\n        this.obj.invalidateSize({\n          animate: false,\n          pan: true,\n        });\n        this.dirty = false;\n        break;\n    }\n  }\n",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project function reference, leaflet",
      "display": "Map.ts · _processLuminoMessage()",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project repository, leaflet",
      "display": "jupyter-widgets/ipyleaflet",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project stars, jupyter-widgets/ipyleaflet",
      "display": "1.5K",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Project push date, jupyter-widgets/ipyleaflet",
      "display": "May 2026",
      "asOf": "2026-05-07"
    },
    "F27": {
      "label": "Library name, maplibre-gl",
      "display": "MapLibre GL JS",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "Monthly downloads, maplibre-gl",
      "display": "37.1M",
      "asOf": "2026-11-15"
    },
    "F29": {
      "label": "License, maplibre-gl",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-17"
    },
    "F30": {
      "label": "Package release, maplibre-gl",
      "display": "6.18.0",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Undated package release, maplibre-gl",
      "display": "v6.18.0",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Repository stars, maplibre-gl",
      "display": "12.1K",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Vector tiles, maplibre-gl",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Raster tiles, maplibre-gl",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Custom overlays, maplibre-gl",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "Clustering, maplibre-gl",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "Install, maplibre-gl",
      "display": "npm install maplibre-gl",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "What it does, maplibre-gl",
      "display": "Renders interactive browser maps from vector tiles using WebGL and style documents.",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths lead, maplibre-gl",
      "display": "Styles vector tiles in-browser",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths, maplibre-gl",
      "display": "Control the map appearance through a style document.",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "strengths lead, maplibre-gl",
      "display": "Supports custom WebGL layers",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "strengths, maplibre-gl",
      "display": "Draw into the map’s graphics context using its camera.",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations lead, maplibre-gl",
      "display": "Bundlers need worker URL setup",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "limitations, maplibre-gl",
      "display": "Configure the worker URL for the application’s bundler.",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "limitations lead, maplibre-gl",
      "display": "Hosted tiles need separate credentials",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "limitations, maplibre-gl",
      "display": "Get provider credentials when using MapTiler data.",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Quickstart, maplibre-gl",
      "display": "<link rel=\"stylesheet\" href=\"https://unpkg.com/maplibre-gl@^6.18.0/dist/maplibre-gl.css\" />\n<div id=\"map\" style=\"height: 400px\"></div>\n<script type=\"module\">\n    import * as maplibregl from 'https://unpkg.com/maplibre-gl@^6.18.0/dist/maplibre-gl.mjs';\n\n    const map = new maplibregl.Map({\n        container: 'map', // container id\n        style: 'https://demotiles.maplibre.org/globe.json', // style URL\n        center: [0, 0], // starting position [lng, lat]\n        zoom: 2 // starting zoom\n    });\n</script>\n\n",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Project function, maplibre-gl",
      "display": "private _updateStyleComponents({light, projection, sky, terrain}: MaplibreProps): void {\n    const map = this._map;\n    const currProps = this._styleComponents;\n    // We can safely manipulate map style once it's loaded\n    if (map.style?._loaded) {\n      if (light && !deepEqual(light, currProps.light)) {\n        currProps.light = light;\n        map.setLight(light);\n      }\n      if (\n        projection &&\n        !deepEqual(projection, currProps.projection) &&\n        projection !== currProps.projection?.type\n      ) {\n        currProps.projection = typeof projection === 'string' ? {type: projection} : projection;\n        // @ts-ignore setProjection does not exist in v4\n        map.setProjection?.(currProps.projection);\n      }\n      if (sky && !deepEqual(sky, currProps.sky)) {\n        currProps.sky = sky;\n        map.setSky(sky);\n      }\n      if (terrain !== undefined && !deepEqual(terrain, currProps.terrain)) {\n        if (!terrain || map.getSource(terrain.source)) {\n          currProps.terrain = terrain;\n          map.setTerrain(terrain);\n        }\n      }\n    }\n  }\n",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Project function reference, maplibre-gl",
      "display": "maplibre.ts · _updateStyleComponents()",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Project repository, maplibre-gl",
      "display": "visgl/react-map-gl",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Project stars, visgl/react-map-gl",
      "display": "8.5K",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "Project push date, visgl/react-map-gl",
      "display": "Oct 2026",
      "asOf": "2026-10-24"
    },
    "F53": {
      "label": "Library name, mapbox-gl",
      "display": "Mapbox GL JS",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "Monthly downloads, mapbox-gl",
      "display": "22.8M",
      "asOf": "2026-11-14"
    },
    "F55": {
      "label": "License, mapbox-gl",
      "display": "SEE LICENSE IN LICENSE.txt",
      "asOf": "2026-11-17"
    },
    "F56": {
      "label": "Package release, mapbox-gl",
      "display": "3.35.0",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "Undated package release, mapbox-gl",
      "display": "v3.35.0",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Repository stars, mapbox-gl",
      "display": "12.5K",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Vector tiles, mapbox-gl",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "Raster tiles, mapbox-gl",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "Custom overlays, mapbox-gl",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "Clustering, mapbox-gl",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "Output formats, mapbox-gl",
      "display": "PNG",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "Install, mapbox-gl",
      "display": "npm install mapbox-gl",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "What it does, mapbox-gl",
      "display": "Renders interactive web maps with Mapbox styles, sources, and client-side vector rendering.",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "strengths lead, mapbox-gl",
      "display": "Styles vector tiles in-browser",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "strengths, mapbox-gl",
      "display": "Change map styles and displayed data in response to user interaction.",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "strengths lead, mapbox-gl",
      "display": "Clusters point sources natively",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "strengths, mapbox-gl",
      "display": "Group point features into clusters and style the resulting layers.",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "limitations lead, mapbox-gl",
      "display": "Requires an account access token",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "limitations, mapbox-gl",
      "display": "Provide a valid access token from a Mapbox account.",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "limitations lead, mapbox-gl",
      "display": "PNG capture needs preserved buffers",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "limitations, mapbox-gl",
      "display": "Enable preserveDrawingBuffer before exporting the canvas to PNG.",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Quickstart, mapbox-gl",
      "display": "<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"utf-8\">\n<title>Display a map on a webpage</title>\n<meta name=\"viewport\" content=\"initial-scale=1,maximum-scale=1,user-scalable=no\">\n<link href=\"https://api.mapbox.com/mapbox-gl-js/v3.35.0/mapbox-gl.css\" rel=\"stylesheet\">\n<script src=\"https://api.mapbox.com/mapbox-gl-js/v3.35.0/mapbox-gl.js\"></script>\n<style>\nbody { margin: 0; padding: 0; }\n#map { position: absolute; top: 0; bottom: 0; width: 100%; }\n</style>\n</head>\n<body>\n<div id=\"map\"></div>\n<script>\n    const map = new mapboxgl.Map({\n        // TO MAKE THE MAP APPEAR YOU MUST\n        // ADD YOUR ACCESS TOKEN FROM\n        // https://account.mapbox.com\n        accessToken: 'YOUR_MAPBOX_ACCESS_TOKEN',\n        container: 'map', // container ID\n        center: [-71.06776, 42.35816], // starting position [lng, lat]. Note that lat must be set between -90 and 90\n        zoom: 9 // starting zoom\n    });\n</script>\n\n</body>\n</html>\n\n",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Project function, mapbox-gl",
      "display": "_updateStyleComponents(nextProps: MapboxProps, currProps: MapboxProps): boolean {\n    const map = this._map;\n    let changed = false;\n    if (map.isStyleLoaded()) {\n      if ('light' in nextProps && map.setLight && !deepEqual(nextProps.light, currProps.light)) {\n        changed = true;\n        map.setLight(nextProps.light);\n      }\n      if ('fog' in nextProps && map.setFog && !deepEqual(nextProps.fog, currProps.fog)) {\n        changed = true;\n        map.setFog(nextProps.fog);\n      }\n      if (\n        'terrain' in nextProps &&\n        map.setTerrain &&\n        !deepEqual(nextProps.terrain, currProps.terrain)\n      ) {\n        if (!nextProps.terrain || map.getSource(nextProps.terrain.source)) {\n          changed = true;\n          map.setTerrain(nextProps.terrain);\n        }\n      }\n    }\n    return changed;\n  }\n",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "Project function reference, mapbox-gl",
      "display": "mapbox.ts · _updateStyleComponents()",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "Project repository, mapbox-gl",
      "display": "visgl/react-map-gl",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Project stars, visgl/react-map-gl",
      "display": "8.5K",
      "asOf": "2026-11-17"
    },
    "F79": {
      "label": "Project push date, visgl/react-map-gl",
      "display": "Oct 2026",
      "asOf": "2026-10-24"
    },
    "F80": {
      "label": "Library name, ol",
      "display": "OpenLayers",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "Monthly downloads, ol",
      "display": "4.2M",
      "asOf": "2026-11-15"
    },
    "F82": {
      "label": "License, ol",
      "display": "BSD-2-Clause",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Package release, ol",
      "display": "10.11.0",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Undated package release, ol",
      "display": "v10.11.0",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "Repository stars, ol",
      "display": "12.7K",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "Vector tiles, ol",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "Raster tiles, ol",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "Custom overlays, ol",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "Clustering, ol",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "Output formats, ol",
      "display": "PNG",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "Install, ol",
      "display": "npm install ol",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "What it does, ol",
      "display": "Displays raster and vector geospatial data with configurable map projections.",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "strengths lead, ol",
      "display": "Combines raster and vector layers",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "strengths, ol",
      "display": "Use tiled imagery and vector data within the same map.",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "strengths lead, ol",
      "display": "Supports alternate map projections",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "strengths, ol",
      "display": "Set the view projection and register additional coordinate systems when needed.",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "limitations lead, ol",
      "display": "Coordinates must match the projection",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "limitations, ol",
      "display": "Transform longitude and latitude before using the default projected view.",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Quickstart, ol",
      "display": "import './style.css';\nimport Map from 'ol/Map.js';\nimport OSM from 'ol/source/OSM.js';\nimport TileLayer from 'ol/layer/Tile.js';\nimport View from 'ol/View.js';\n\nconst map = new Map({\n  target: 'map',\n  layers: [\n    new TileLayer({\n      source: new OSM(),\n    }),\n  ],\n  view: new View({\n    center: [0, 0],\n    zoom: 2,\n  }),\n});\n\n",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Developer need",
      "display": "Raster maps with markers",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Why choose leaflet",
      "display": "tile layers, markers, and popup APIs",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Developer need in introduction",
      "display": "raster maps with markers",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Developer need",
      "display": "Styling vector tiles with WebGL",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Why choose maplibre-gl",
      "display": "style-document control over vector rendering",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Developer need in introduction",
      "display": "styling vector tiles with WebGL",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "When to consider ol",
      "display": "alternate map projections are the main requirement",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Developer need",
      "display": "Maps with alternate coordinate systems",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Why choose ol",
      "display": "projection-aware views and registration",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "Developer need in introduction",
      "display": "maps with alternate coordinate systems",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "Developer need",
      "display": "Mapbox maps with point clusters",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "Why choose mapbox-gl",
      "display": "native GeoJSON point clustering",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "Developer need in introduction",
      "display": "mapbox maps with point clusters",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "Page introduction",
      "display": "JavaScript maps libraries let application developers display geographic data on interactive maps.",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "FAQ: Which JavaScript map library should I choose?",
      "display": "Leaflet combines raster tiles, markers, and interactive overlays.",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "FAQ: Which JavaScript map library should I choose?",
      "display": "MapLibre renders vector tiles with WebGL and a style document.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: Which JavaScript map library should I choose?",
      "display": "OpenLayers supports a broad range of raster/vector sources and map projections.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: Which JavaScript map library should I choose?",
      "display": "Mapbox GL JS provides client-side Mapbox map rendering.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Does Leaflet support vector tiles and marker clustering?",
      "display": "VectorGrid adds tiled vector rendering to Leaflet.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Does Leaflet support vector tiles and marker clustering?",
      "display": "MarkerCluster is a separate point-clustering plugin.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Why does an OpenLayers map center appear in the wrong place?",
      "display": "Center coordinates must match the view projection; transform longitude/latitude when using the default projected view.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Does OpenLayers expect latitude or longitude first?",
      "display": "Geographic coordinates are entered in longitude, latitude order.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Does the map library include hosted tiles and provider credentials?",
      "display": "MapLibre examples use separate demo or MapTiler tile sources; MapTiler data requires a provider API key.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: Does the map library include hosted tiles and provider credentials?",
      "display": "Mapbox map examples require a valid account access token.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: What changes when importing current MapLibre into a bundled application?",
      "display": "Current MapLibre ships as ES modules and documents bundler-specific worker URL setup.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "FAQ: Can these maps be exported as PNG?",
      "display": "OpenLayers has an explicit PNG map export example.",
      "asOf": "2026-11-17"
    },
    "F126": {
      "label": "FAQ: Can these maps be exported as PNG?",
      "display": "Mapbox documents PNG capture through its canvas when preserveDrawingBuffer is enabled.",
      "asOf": "2026-11-17"
    },
    "F127": {
      "label": "FAQ: Are custom overlays the same API in each renderer?",
      "display": "OpenLayers Overlay attaches a visible element to a geographic location.",
      "asOf": "2026-11-17"
    },
    "F128": {
      "label": "FAQ: Are custom overlays the same API in each renderer?",
      "display": "MapLibre custom layers draw inside the map’s WebGL context using its camera.",
      "asOf": "2026-11-17"
    },
    "F129": {
      "label": "Library name, leaflet",
      "display": "Leaflet",
      "asOf": "2026-11-20"
    },
    "F130": {
      "label": "Monthly downloads, leaflet",
      "display": "44.5M",
      "asOf": "2026-11-20"
    },
    "F131": {
      "label": "License, leaflet",
      "display": "BSD-2-Clause",
      "asOf": "2026-11-20"
    },
    "F132": {
      "label": "Package release, leaflet",
      "display": "1.9.4",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "Package release date, leaflet",
      "display": "May 2023",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "Install, leaflet",
      "display": "npm install leaflet",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "Quickstart, leaflet",
      "display": "import * as L from 'leaflet';\nimport 'leaflet/dist/leaflet.css';\nconst map = L.map('map').setView([51.505, -0.09], 13);\nL.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', { attribution: '&copy; <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors' }).addTo(map);\n",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Repository stars, leaflet",
      "display": "46.0K",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Globe view, leaflet",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Point clustering, leaflet",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Rendering model, leaflet",
      "display": "Planar interactive map with DOM/SVG/Canvas layers",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Package identifier, leaflet",
      "display": "leaflet",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Publisher package description, leaflet",
      "display": "JavaScript library for mobile-friendly interactive maps",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Stable/beta documentation boundary, leaflet",
      "display": "Selected stable1.9.4 differs from unversioned beta2.0 quick-start imports",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Project function, leaflet",
      "display": "_processLuminoMessage(msg: Message, _super: Function) {\n    _super.call(this, msg);\n    if (!this.obj) return;\n    switch (msg.type) {\n      case 'resize':\n        // We set the dirty flag to true to prevent the sub-pixel error\n        // on the new center to be reflected on the model.\n        this.dirty = true;\n        // On the pan option:\n        // `pan=true`  causes the center to be unchanged upon resize (up\n        // to sub-pixel differences)\n        // `pan=false` corresponds to having to top-left corner\n        // unchanged.\n        this.obj.invalidateSize({\n          animate: false,\n          pan: true,\n        });\n        this.dirty = false;\n        break;\n      case 'after-show':\n        this.dirty = true;\n        // If we are in a jupyter-widget tab, we get an after-show before\n        // this.displayed is resolved. In this case, obj is not created yet.\n        this.obj.invalidateSize({\n          animate: false,\n          pan: true,\n        });\n        this.dirty = false;\n        break;\n    }\n  }",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Project source file, leaflet",
      "display": "python/jupyter_leaflet/src/Map.ts",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Project full_name, leaflet",
      "display": "jupyter-widgets/ipyleaflet",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Project stargazers_count, leaflet",
      "display": "1.5K",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Library name, maplibre-gl",
      "display": "maplibre-gl",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Monthly downloads, maplibre-gl",
      "display": "38.3M",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "License, maplibre-gl",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Package release, maplibre-gl",
      "display": "6.19.0",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Package release date, maplibre-gl",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Install, maplibre-gl",
      "display": "npm install maplibre-gl",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Quickstart, maplibre-gl",
      "display": "import { Map } from 'maplibre-gl';\nimport 'maplibre-gl/dist/maplibre-gl.css';\nconst map = new Map({ container: 'map', style: 'https://demotiles.maplibre.org/style.json', center: [0, 0], zoom: 2 });\n",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Repository stars, maplibre-gl",
      "display": "12.1K",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Globe view, maplibre-gl",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Point clustering, maplibre-gl",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Style/data model, maplibre-gl",
      "display": "GPU map renderer with style/source/layer APIs",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Package identifier, maplibre-gl",
      "display": "maplibre-gl",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Publisher package description, maplibre-gl",
      "display": "BSD licensed community fork of mapbox-gl, a WebGL interactive maps library",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Library name, @googlemaps/js-api-loader",
      "display": "@googlemaps/js-api-loader",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Monthly downloads, @googlemaps/js-api-loader",
      "display": "31.4M",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "License, @googlemaps/js-api-loader",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Package release, @googlemaps/js-api-loader",
      "display": "2.1.3",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Package release date, @googlemaps/js-api-loader",
      "display": "Sep 2026",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Install, @googlemaps/js-api-loader",
      "display": "npm install @googlemaps/js-api-loader",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Quickstart, @googlemaps/js-api-loader",
      "display": "import { setOptions, importLibrary } from '@googlemaps/js-api-loader';\nsetOptions({ key: 'YOUR_API_KEY', v: 'weekly' });\nconst { Map } = await importLibrary('maps');\nconst map = new Map(document.getElementById('map'), { center: { lat: 0, lng: 0 }, zoom: 2 });\n",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Official description, @googlemaps/js-api-loader",
      "display": "Loads the Google Maps JavaScript API script in the browser.",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Quickstart source file, @googlemaps/js-api-loader",
      "display": "README.md plus hosted Maps Map constructor reference (API recipe)",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Repository stars, @googlemaps/js-api-loader",
      "display": "452",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Globe view, @googlemaps/js-api-loader",
      "display": "Undocumented",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Point clustering, @googlemaps/js-api-loader",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Metrics and version boundary, @googlemaps/js-api-loader",
      "display": "Official loader package counter; hosted Maps runtime version selected separately",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Native scene scope, @googlemaps/js-api-loader",
      "display": "Hosted Maps JavaScript includes a photorealistic3D Map3DElement module",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Package identifier, @googlemaps/js-api-loader",
      "display": "@googlemaps/js-api-loader",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Publisher package description, @googlemaps/js-api-loader",
      "display": "Wrapper for the loading of Google Maps JavaScript API script in the browser",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Library name, mapbox-gl",
      "display": "mapbox-gl",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Monthly downloads, mapbox-gl",
      "display": "23.0M",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "License, mapbox-gl",
      "display": "Mapbox TOS",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Package release, mapbox-gl",
      "display": "3.35.1",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Package release date, mapbox-gl",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Install, mapbox-gl",
      "display": "npm install mapbox-gl",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Quickstart, mapbox-gl",
      "display": "import mapboxgl from 'mapbox-gl';\nimport 'mapbox-gl/dist/mapbox-gl.css';\nmapboxgl.accessToken = 'YOUR_MAPBOX_ACCESS_TOKEN';\nconst map = new mapboxgl.Map({ container: 'map', style: 'mapbox://styles/mapbox/standard', center: [0, 0], zoom: 2 });\n",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Repository stars, mapbox-gl",
      "display": "12.5K",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Globe view, mapbox-gl",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Point clustering, mapbox-gl",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Licensing boundary, mapbox-gl",
      "display": "Mapbox TOS and active Mapbox account",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Package identifier, mapbox-gl",
      "display": "mapbox-gl",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Publisher package description, mapbox-gl",
      "display": "A WebGL interactive maps library",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Library name, @deck.gl/core",
      "display": "deck.gl",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Monthly downloads, @deck.gl/core",
      "display": "5.5M",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "License, @deck.gl/core",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Package release, @deck.gl/core",
      "display": "9.4.1",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Package release date, @deck.gl/core",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Install, @deck.gl/core",
      "display": "npm install @deck.gl/core@9.4.1 @deck.gl/layers@9.4.1",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Quickstart, @deck.gl/core",
      "display": "import { Deck } from '@deck.gl/core';\nimport { ScatterplotLayer } from '@deck.gl/layers';\nconst deck = new Deck({\n  parent: document.getElementById('map'),\n  initialViewState: { longitude: -0.1, latitude: 51.5, zoom: 10 }, controller: true,\n  layers: [new ScatterplotLayer({ id: 'point', data: [[-0.1, 51.5]], getPosition: d => d, getRadius: 1000, getFillColor: [255, 0, 0] })]\n});\n",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Official description, @deck.gl/core",
      "display": "Provides the core of the deck.gl visualization framework.",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Quickstart source file, @deck.gl/core",
      "display": "Deck constructor and ScatterplotLayer API references (API recipe)",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Repository stars, @deck.gl/core",
      "display": "14.8K",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Globe view, @deck.gl/core",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Point clustering, @deck.gl/core",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "SDK/package boundary, @deck.gl/core",
      "display": "Deck.gl family represented by core; first-party layer packages are explicit extras",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Projection boundary, @deck.gl/core",
      "display": "Experimental GlobeView differs from planar MapView",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Package identifier, @deck.gl/core",
      "display": "@deck.gl/core",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Publisher package description, @deck.gl/core",
      "display": "deck.gl core library",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Project function, @deck.gl/core",
      "display": "export function pointToPolygonGeo({\n  object,\n  cellSize,\n  coverage,\n  properties,\n  mapState,\n  coordinate\n}: {\n  object: any;\n  cellSize: number;\n  coverage: number;\n  properties?: any;\n  mapState: MapState;\n  coordinate?: number[];\n}) {\n  const position = object.position || coordinate;\n  const viewport = new WebMercatorViewport(mapState);\n\n  if (!position) {\n    return null;\n  }\n\n  return {\n    geometry: {\n      coordinates: [\n        viewport.addMetersToLngLat(position, [\n          cellSize * (0.5 - coverage / 2),\n          cellSize * (0.5 - coverage / 2)\n        ]),\n        viewport.addMetersToLngLat(position, [\n          cellSize * (0.5 + coverage / 2),\n          cellSize * (0.5 - coverage / 2)\n        ]),\n        viewport.addMetersToLngLat(position, [\n          cellSize * (0.5 + coverage / 2),\n          cellSize * (0.5 + coverage / 2)\n        ]),\n        viewport.addMetersToLngLat(position, [\n          cellSize * (0.5 - coverage / 2),\n          cellSize * (0.5 + coverage / 2)\n        ]),\n        viewport.addMetersToLngLat(position, [\n          cellSize * (0.5 - coverage / 2),\n          cellSize * (0.5 - coverage / 2)\n        ])\n      ],\n      type: 'LineString'\n    },\n    properties\n  };\n}",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Project source file, @deck.gl/core",
      "display": "src/layers/src/grid-layer/grid-utils.ts",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Project full_name, @deck.gl/core",
      "display": "keplergl/kepler.gl",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Project stargazers_count, @deck.gl/core",
      "display": "12.1K",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Library name, ol",
      "display": "OpenLayers",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Monthly downloads, ol",
      "display": "4.4M",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "License, ol",
      "display": "BSD-2-Clause",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Package release, ol",
      "display": "10.11.0",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Package release date, ol",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Install, ol",
      "display": "npm install ol",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Quickstart, ol",
      "display": "import Map from 'ol/Map.js';\nimport View from 'ol/View.js';\nimport TileLayer from 'ol/layer/Tile.js';\nimport OSM from 'ol/source/OSM.js';\nimport 'ol/ol.css';\nconst map = new Map({ target: 'map', layers: [new TileLayer({ source: new OSM() })], view: new View({ center: [0, 0], zoom: 2 }) });\n",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Repository stars, ol",
      "display": "12.7K",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Globe view, ol",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Point clustering, ol",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Coordinate/runtime model, ol",
      "display": "OpenLayers maps/layers/sources with separate OL-Cesium bridge",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Package identifier, ol",
      "display": "ol",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Publisher package description, ol",
      "display": "OpenLayers mapping library",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Library name, cesium",
      "display": "CesiumJS",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Monthly downloads, cesium",
      "display": "1.7M",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "License, cesium",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Package release, cesium",
      "display": "1.147.0",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Package release date, cesium",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Install, cesium",
      "display": "npm install cesium",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Quickstart, cesium",
      "display": "import { Viewer } from 'cesium';\nimport 'cesium/Build/Cesium/Widgets/widgets.css';\nwindow.CESIUM_BASE_URL = '/cesium/';\nconst viewer = new Viewer('map', { baseLayer: false, baseLayerPicker: false, geocoder: false });\n",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Official description, cesium",
      "display": "Creates three-dimensional globes and two-dimensional maps in a web browser without a plugin.",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Quickstart source file, cesium",
      "display": "Viewer API reference / constructor (API recipe)",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Repository stars, cesium",
      "display": "16.0K",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Globe view, cesium",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Point clustering, cesium",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Scene model, cesium",
      "display": "Globe and entity/data-source scene with optional external terrain/imagery",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Package identifier, cesium",
      "display": "cesium",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Publisher package description, cesium",
      "display": "CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "Project function, cesium",
      "display": "setPosition(position: number[]) {\n    if (!this.toLonLat_) {\n      return;\n    }\n    const ll = this.toLonLat_(position);\n    console.assert(!!ll);\n\n    const carto = new Cesium.Cartographic(\n      toRadians(ll[0]),\n      toRadians(ll[1]),\n      this.getAltitude(),\n    );\n\n    this.cam_.setView({\n      destination: Cesium.Ellipsoid.WGS84.cartographicToCartesian(carto),\n    });\n    this.updateView();\n  }\n",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Project source file, cesium",
      "display": "src/olcs/Camera.ts",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Project full_name, cesium",
      "display": "openlayers/ol-cesium",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Project stargazers_count, cesium",
      "display": "1.2K",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Library name, @arcgis/core",
      "display": "ArcGIS Maps SDK for JavaScript",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Monthly downloads, @arcgis/core",
      "display": "1.2M",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "License, @arcgis/core",
      "display": "Esri Master License Agreement",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Package release, @arcgis/core",
      "display": "5.2.6",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Package release date, @arcgis/core",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "Install, @arcgis/core",
      "display": "npm install @arcgis/core",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "Quickstart, @arcgis/core",
      "display": "import WebMap from '@arcgis/core/WebMap.js';\nimport esriConfig from '@arcgis/core/config.js';\nesriConfig.request.useIdentity = false;\nconst map = new WebMap({ portalItem: { id: '3d52817a120b477db912add2e62ef9b6' } });\nawait map.load();\n",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "Official description, @arcgis/core",
      "display": "Provides an ArcGIS API for two-dimensional and three-dimensional mapping and data visualization.",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "Quickstart source file, @arcgis/core",
      "display": "templates/js-maps-sdk-node/webmap.js (first metadata-call API recipe)",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "Globe view, @arcgis/core",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "Point clustering, @arcgis/core",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "Licensing/runtime boundary, @arcgis/core",
      "display": "Esri Master License Agreement; core metadata and scene APIs plus separate components",
      "asOf": "2026-11-20"
    },
    "F253": {
      "label": "Package identifier, @arcgis/core",
      "display": "@arcgis/core",
      "asOf": "2026-11-20"
    },
    "F254": {
      "label": "Publisher package description, @arcgis/core",
      "display": "ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API",
      "asOf": "2026-11-20"
    },
    "F255": {
      "label": "Project function, @arcgis/core",
      "display": "const addLegend = () => {\n  // Add legend div to the map\n  document.getElementById(\"customLegend\").style.display = \"block\";\n\n  // Add center symbol to legend\n  symbolUtils.renderPreviewHTML(markerSymbol, {\n    node: document.getElementById(\"centerPointDiv\"),\n    size: { width: 10, height: 10 },\n    symbolConfig: { isSquareFill: true },\n  });\n\n  // Add query buffer symbol to legend\n  symbolUtils.renderPreviewHTML(greenLineSymbol, {\n    node: document.getElementById(\"queryBufferDiv\"),\n  });\n\n  // Add river symbol to legend\n  symbolUtils.renderPreviewHTML(blueLineSymbol, {\n    node: document.getElementById(\"riversAndStreamsDiv\"),\n  });\n\n  // Add river buffer symbol to legend\n  symbolUtils.renderPreviewHTML(redLineSymbol, {\n    node: document.getElementById(\"buffersDiv\"),\n  });\n};",
      "asOf": "2026-11-20"
    },
    "F256": {
      "label": "Project source file, @arcgis/core",
      "display": "templates/geometry-operator-worker/src/main.js",
      "asOf": "2026-11-20"
    },
    "F257": {
      "label": "Project full_name, @arcgis/core",
      "display": "Esri/jsapi-resources",
      "asOf": "2026-11-20"
    },
    "F258": {
      "label": "Project stargazers_count, @arcgis/core",
      "display": "782",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best JavaScript map libraries Leaflet MapLibre OpenLayers Mapbox GL code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
