[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-3437":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":24,"topics":25,"createdAt":9,"pushedAt":9,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":15,"starSnapshotCount":15,"syncStatus":16,"lastSyncTime":31,"discoverSource":32},3437,"openlayers","openlayers\u002Fopenlayers","OpenLayers","https:\u002F\u002Fopenlayers.org",null,"JavaScript",12467,3170,383,759,0,2,14,37,12,45,"BSD 2-Clause \"Simplified\" License",false,"main",true,[26,27,5],"javascript","maps","2026-06-12 02:00:50","# OpenLayers\n\n[OpenLayers](https:\u002F\u002Fopenlayers.org\u002F) is a high-performance, feature-packed library for creating interactive maps on the web. It can display map tiles, vector data and markers loaded from any source on any web page. OpenLayers has been developed to further the use of geographic information of all kinds. It is completely free, Open Source JavaScript, released under the [BSD 2-Clause License](https:\u002F\u002Fopensource.org\u002Flicenses\u002FBSD-2-Clause).\n\n## Getting Started\n\nInstall the [`ol` package](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fol):\n\n```\nnpm install ol\n```\n\nImport just what you need for your application:\n\n```js\nimport Map from 'ol\u002FMap';\nimport View from 'ol\u002FView';\nimport TileLayer from 'ol\u002Flayer\u002FTile';\nimport XYZ from 'ol\u002Fsource\u002FXYZ';\n\nnew Map({\n  target: 'map',\n  layers: [\n    new TileLayer({\n      source: new XYZ({\n        url: 'https:\u002F\u002Ftile.openstreetmap.org\u002F{z}\u002F{x}\u002F{y}.png'\n      })\n    })\n  ],\n  view: new View({\n    center: [0, 0],\n    zoom: 2\n  })\n});\n```\n\nSee the following examples for more detail on bundling OpenLayers with your application:\n\n * Using [Vite](https:\u002F\u002Fgithub.com\u002Fopenlayers\u002Fol-vite)\n * Using [Rollup](https:\u002F\u002Fgithub.com\u002Fopenlayers\u002Fol-rollup)\n * Using [webpack](https:\u002F\u002Fgithub.com\u002Fopenlayers\u002Fol-webpack)\n * Using [Parcel](https:\u002F\u002Fgithub.com\u002Fopenlayers\u002Fol-parcel)\n\nFor more detail on quick prototyping without the use of a Node.js based setup, see the [Skypack](https:\u002F\u002Fgithub.com\u002Fopenlayers\u002Fol-skypack) example.\n\n## Sponsors\n\nOpenLayers appreciates contributions of all kinds.  We especially want to thank our fiscal sponsors who contribute to ongoing project maintenance.\n\n\u003Cbr>\n\n[![Pozi logo](.\u002Fsponsor-logos\u002Fpozi.png)](https:\u002F\u002Fpozi.com\u002F)\n\n> Pozi helps connect communities through spatial thinking.\n> We love Openlayers and it forms a core part of our platform.\n> https:\u002F\u002Fpozi.com\u002F https:\u002F\u002Fapp.pozi.com\u002F\n\n\u003Cbr>\n\n[![yey'maps logo](.\u002Fsponsor-logos\u002Fyeymaps.png)](https:\u002F\u002Fwww.yeymaps.io\u002F)\n\n> yey'maps is a scalable cloud GIS suite that is developed with the\n> powerful Openlayers API and the GDAL library.\n> https:\u002F\u002Fwww.yeymaps.io\u002F\n\n\u003Cbr>\n\n[![ela-compil logo](.\u002Fsponsor-logos\u002Fela-compil.png)](https:\u002F\u002Fela.pl\u002F)\n\n> We develop leading Physical Security Information Management (PSIM) software.\n> OpenLayers is the core of our map engine and we love it! \n> https:\u002F\u002Fela.pl\u002F\n\n\u003Cbr>\n\n[![Ubigu Oy logo](.\u002Fsponsor-logos\u002Fubigu-oy.svg)](https:\u002F\u002Fwww.ubigu.fi\u002F)\n\n> We advance holistic utilization and availability of spatial information,\n> for a better planned, built and managed society.\n> https:\u002F\u002Fwww.ubigu.fi\u002F\n\n\u003Cbr>\n\n[![Scribble Maps logo](.\u002Fsponsor-logos\u002Fscribble-maps.png)](https:\u002F\u002Fwww.scribblemaps.com\u002F)\n\n> Build custom maps and identify insights across real estate, engineering, research, business, exploration, construction, manufacturing - and so much more.\n> https:\u002F\u002Fwww.scribblemaps.com\u002F\n\n\u003Cbr>\n\nSee our [GitHub sponsors page](https:\u002F\u002Fgithub.com\u002Fsponsors\u002Fopenlayers) or [Open Collective](https:\u002F\u002Fopencollective.com\u002Fopenlayers\u002Fcontribute\u002Fsponsors-214\u002Fcheckout) if you too are interested in becoming a regular sponsor.\n\n## TypeScript support\n\nThe [ol package](https:\u002F\u002Fnpmjs.com\u002Fpackage\u002Fol) includes auto-generated TypeScript declarations as `*.d.ts` files.\n\n## Supported Browsers\n\nOpenLayers runs on all modern browsers (with greater than 1% global usage).  This includes Chrome, Firefox, Safari and Edge. For older browsers, polyfills ([Fastly](https:\u002F\u002Fpolyfill-fastly.io) or [Cloudflare](https:\u002F\u002Fcdnjs.cloudflare.com\u002Fpolyfill)) will likely need to be added.\n\n## Documentation\n\nCheck out the [hosted examples](https:\u002F\u002Fopenlayers.org\u002Fen\u002Flatest\u002Fexamples\u002F), the [workshop](https:\u002F\u002Fopenlayers.org\u002Fworkshop\u002F) or the [API documentation](https:\u002F\u002Fopenlayers.org\u002Fen\u002Flatest\u002Fapidoc\u002F).\n\n## Bugs\n\nPlease use the [GitHub issue tracker](https:\u002F\u002Fgithub.com\u002Fopenlayers\u002Fopenlayers\u002Fissues) for all bugs and feature requests. Before creating a new issue, do a quick search to see if the problem has been reported already.\n\n## Contributing\n\nPlease see our guide on [contributing](CONTRIBUTING.md) if you're interested in getting involved.\n\n## Community\n\n- Need help? Find it on [Stack Overflow using the tag 'openlayers'](https:\u002F\u002Fstackoverflow.com\u002Fquestions\u002Ftagged\u002Fopenlayers)\n- Follow [@openlayers](https:\u002F\u002Ftwitter.com\u002Fopenlayers) on Twitter\n\n![Test Status](https:\u002F\u002Fgithub.com\u002Fopenlayers\u002Fopenlayers\u002Fworkflows\u002FTest\u002Fbadge.svg)\n","OpenLayers 是一个用于创建高性能、功能丰富的网络互动地图的JavaScript库。它支持从任意源加载地图瓦片、矢量数据和标记，并在网页上展示。其核心特点包括模块化设计，允许开发者根据需要导入特定组件，以及对多种地图服务的支持。适用于需要在Web应用中集成地理信息可视化功能的各种场景，如在线地图服务、GIS应用开发等。开源且遵循BSD 2-Clause许可证，确保了广泛的可用性和灵活性。","2026-06-11 02:54:27","top_language"]