New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@daturon/mapboxgl-layer-manager

Package Overview
Dependencies
Maintainers
0
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@daturon/mapboxgl-layer-manager

The Layer Manager for Mapbox GL is a versatile and user-friendly tool designed to streamline the management of map layers within the Mapbox GL environment. This tool simplifies the process of modifying layer order and adjusting and fine-tuning each layer'

  • 1.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
88
decreased by-1.12%
Maintainers
0
Weekly downloads
 
Created
Source

The Layer Manager for Mapbox GL is a versatile and user-friendly tool designed to streamline the management of map layers within the Mapbox GL environment. This tool simplifies the process of modifying layer order and adjusting and fine-tuning each layer's settings on a map.

Key Features:

Layer Ordering: One of the primary functions of the Layer Manager is to enable users to change the ordering of map layers easily. Whether you need to bring a specific layer to the foreground or send it to the background, this intuitive feature ensures that users can organize layers to meet their mapping needs by providing a new list of layer ordering.

Settings Management: The Layer Manager is a comprehensive solution for handling all aspects of layer settings. Users can access and modify a wide range of properties for each layer, such as layout, paint options, and more.

Quick start

import { useLayerManager } from '@daturon/mapboxgl-layer-manager';

const layerManager = useLayerManager(map.current, sources, layers);

layerManager.renderOrderedLayers([
  'layer-id-1',
  'layer-id-2',
],
{ "layer-id-2": { paint: { "fill-color": "green" } } });

Install

npm:

npm install @daturon/mapboxgl-layer-manager

yarn:

yarn add @daturon/mapboxgl-layer-manager

Keywords

FAQs

Package last updated on 22 Nov 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc