Socket
Socket
Sign inDemoInstall

@stamen/cartodb-tilelayer

Package Overview
Dependencies
25
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @stamen/cartodb-tilelayer


Version published
Weekly downloads
3
increased by50%
Maintainers
3
Install size
4.87 MB
Created
Weekly downloads
 

Readme

Source

CartoDBTileLayer

Load and render tiles from CartoDB into a react-leaflet map.

Part of the @stamen/panorama toolkit.

Usage
import React from 'react';
import ReactDOM from 'react-dom';
import { CartoDBTileLayer } from '@panorama/toolkit';

ReactDOM.render(
  <Map>
    <CartoDBTileLayer
      userId={ /* cartodb user id */ }
      sql={ /* SQL query to generate tiles */ }
      cartocss={ /* CartoCSS to style tiles */ }
    />
  </Map>, document.body);

FAQs

Last updated on 12 Apr 2016

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc