New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@mofair/mf-mapbox-jssdk

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mofair/mf-mapbox-jssdk

TypeScript SDK 的模板项目

latest
npmnpm
Version
0.3.5
Version published
Maintainers
2
Created
Source

mapboxGl 模飞封装

API

初始化

const mapIns = new CesiumFair({
  style: {
    container: "#map",
  },
});

设置绘图样式

/**
 *
 * @description 设置指定样式层中绘图属性的值
 * @param {string} layerId - 图层ID
 * @param {string} name - 绘图属性名称
 * @param {any} value - 绘图属性值
 * @return map
 *
 * @example
 * map.setPaintProperty('my-layer', 'fill-color', '#faafee');
 *
 */
setPaintProperty(layerId, name, value, (option = {}));

FAQs

Package last updated on 08 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts