mapbox-gl-js README

The project's README from github.com/mapbox/mapbox-gl-js. As one markdown file: README.md.

Mapbox logo

Mapbox GL JS is a JavaScript library for interactive, customizable vector maps on the web. It takes map styles that conform to the Mapbox Style Specification, applies them to vector tiles that conform to the Mapbox Vector Tile Specification, and renders them using WebGL.

Mapbox GL JS is part of the cross-platform Mapbox GL ecosystem, which also includes compatible native SDKs for applications on Android, iOS, macOS, and React Native. Mapbox provides building blocks to add location features like maps, search, and navigation into any experience you create. To get started with GL JS or any of our other building blocks, sign up for a Mapbox account.

In addition to GL JS, this repository contains code, issues, and test fixtures that are common to both GL JS and the native SDKs. For code and issues specific to the native SDKs, see the mapbox/mapbox-gl-native repository.

Mapbox GL JS gallery of map images

Caption: (Mapbox GL JS maps, left-to-right, top-to-bottom): Custom styled point clusters, custom style with points, hexbin visualization on a Dark style map with Popups, data-driven circles over a raster layer with satellite imagery, 3D terrain with custom Markers, Mapbox Movement data visualization.

License

Mapbox Web SDK

Copyright © 2021 - 2023 Mapbox, Inc. All rights reserved.

The software and files in this repository (collectively, “Software”) are licensed under the Mapbox TOS for use only with the relevant Mapbox product(s) listed at www.mapbox.com/pricing. This license allows developers with a current active Mapbox account to use and modify the authorized portions of the Software as needed for use only with the relevant Mapbox product(s) through their Mapbox account in accordance with the Mapbox TOS. This license terminates automatically if a developer no longer has a Mapbox account in good standing or breaches the Mapbox TOS. For the license terms, please see the Mapbox TOS at https://www.mapbox.com/legal/tos/ which incorporates the Mapbox Product Terms at www.mapbox.com/legal/service-terms. If this Software is a SDK, modifications that change or interfere with marked portions of the code related to billing, accounting, or data collection are not authorized and the SDK sends limited de-identified location and usage data which is used in accordance with the Mapbox TOS. [Updated 2023-01]

mapbox-gl-js (mapbox/mapbox-gl-js)

Searching Database…

Что это такое?Mapbox GL JS — это JavaScript-библиотека для отрисовки интерактивных настраиваемых векторных карт в браузере с помощью WebGL.
Это самостоятельное приложение или библиотека, которую я встраиваю в свой сайт?Это клиентская JavaScript-библиотека, которую встраивают в веб-страницу; она применяет стили по спецификации Mapbox Style Specification к векторным тайлам Mapbox и отрисовывает их с помощью WebGL.
Как начать работу с ней?Зарегистрируйте аккаунт Mapbox и следуйте руководству «Getting started with Mapbox GL JS», затем загрузите свои стилизованные тайлы через API библиотеки.
Нужен ли мне аккаунт Mapbox, чтобы пользоваться этим?Да, нужен действующий аккаунт Mapbox в порядке; лицензия привязана к использованию через этот аккаунт.
Могу ли я свободно менять любую часть кода?Нет — нельзя менять или вмешиваться в помеченные участки кода, связанные с выставлением счетов, учётом или сбором данных; SDK также отправляет в Mapbox ограниченный объём обезличенных данных об использовании.
Это работает только в вебе или также в нативных мобильных приложениях?Сам GL JS предназначен для веб-браузеров; аналогичные нативные SDK для Android, iOS, macOS и React Native существуют как отдельные, но связанные проекты в той же экосистеме Mapbox GL.
Библиотека собирает какие-либо данные из моего приложения?Да, она отправляет в Mapbox ограниченный объём обезличенных данных о местоположении и использовании в рамках своего механизма учёта и выставления счетов.
Какие функции карт можно сделать с ней сразу?В галерее показаны: кластеризация точек с собственным стилем, визуализации hexbin со всплывающими окнами, слои-круги, управляемые данными, поверх спутниковых снимков, 3D-рельеф с собственными маркерами и визуализации данных о перемещении.
Где найти стили карт для использования?README ведёт к открытым стилям и спецификации Style Specification и документации, а также к примерам стилей, размещённых Mapbox, которые можно применять к векторным тайлам.
Этот репозиторий также используется для нативных SDK?Да, в этом репозитории также хранятся код, задачи и тестовые фикстуры, общие для GL JS и нативных SDK, хотя код, специфичный для нативных SDK, находится в репозитории mapbox-gl-native.
Creator
mapbox
Size
757.4 MB
Stars
12.4K
Age
13y
Commits · 90 Days