当前位置: 首页 > 软件库 > 手机/移动开发 > >

mapbox-gl-native

授权协议 View license
开发语言 Java
所属分类 手机/移动开发
软件类型 开源软件
地区 不详
投 递 者 仉昂熙
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Mapbox GL Native

A C++ library that powers customizable vector maps in native applications on multiple platforms by taking stylesheets that conform to the Mapbox Style Specification, applying them to vector tiles that conform to the Mapbox Vector Tile Specification, and rendering them using OpenGL or Metal.

To embed interactive maps into a native application using a platform-specific language, install the Mapbox Maps SDK:

Mapbox GL JS is the WebGL-based counterpart to Mapbox GL Native that is designed for use on the Web.

Developing

We use CMake to build Mapbox GL Nativefor various platforms, including Linux, Android, iOS, macOS and Windows. Thefollowing command, executed from the root of this repository tree, will buildMapbox GL Native targeting your host architecture given that you have all thedependencies installed and run the example app.

$ git submodule update --init --recursive
$ cmake . -B build
$ cmake --build build
$ MAPBOX_ACCESS_TOKEN=my_access_token_here ./build/platform/glfw/mbgl-glfw

License

Mapbox GL Native is licensed under the 2-Clause BSD license. The licenses of its dependencies are tracked via FOSSA:

FOSSA Status

  • 1. libGLESv2.so.2: cannot open shared pbject file: No such file or directory 尝试安装libgles2-mesa和libegl1-mesa sudo apt-get install libegl1-mesa libgles2-mesa 2. fatal error: X11/Xlib.h: No such file or

  • 1.下载mapbox-gl.js源码包,解压 2.按照源码中CONTRIBUTING.md描述,配置基础环境 [node.js](https://nodejs.org/) version 14, [yarn](https://yarnpkg.com/en/docs/install#windows-tab), [npm and node-gyp](https://github.com/Microso

 相关资料
  • Mapbox GL JS 是一个 JavaScript 库,它基于 WebGL 使用矢量切片和 Mapbox 样式渲染交互式地图。 Mapbox GL JS 是跨平台 Mapbox GL 生态系统的一部分,储存库还包括适用于 Android、iOS、MacOS 和 Qt 应用的兼容原生 SDK 。

  • React Native Mapbox GL 是绑定 Mapbox GL 地图的 React Native 组件。 安装: npm install react-native-mapbox-gl --save 示例: 'use strict';var React = require('react-native');var MapboxGLMap = require('react-native-map

  • 我正在用RubyonRails编写这个应用程序,我将应用程序设置为从特定路径提供GeoJson。我想让Mapbox从指定路径获取GeoJson,并将其添加到地图中。下面是我创建地图的javascript代码 当我导航到时,我得到以下响应。 地图加载得很好,但没有形状。令人沮丧的是,浏览器中没有错误,GeoJson在GeoJson.io上签出。 我做错了什么?

  • 我想在Mapbox GL native项目中运行Mapbox GL AndroidSDk TestApp,但当我导入Android Studio时,它不起作用。这是日志: 开始活动ComponentInfo{com.mapbox.mapboxsdk.testapp/com.mapbox.mapboxsdk.testapp.MainActivity}:android.view.InflateExce

  • 也许你可能知道这是插件,一切看起来都被遗弃了,没有人关心在github上回答我们的问题。 我正在使用mapbox-gl-js和mapbox-gl-方向插件。 mapbox-gl-方向插件有函数,它没有。所以我一次只能添加一个。所以我需要循环我的点,每次调用。看看函数(addWaypoint)在github的文档中说了什么: "为路线添加一个航点。注意:调用此方法需要地图加载事件已经运行。" ...

  • This project has moved: This project is now being maintained here: https://github.com/nativescript-community/ui-mapboxas it's become clear contrary to what I thought, I don't actually have enough time