Naval Pilgrim's Mayflower

    @stamen/cartodb-tilelayer

    0.2.0 • Public • Published

    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);

    Keywords

    none

    Install

    npm i @stamen/cartodb-tilelayer

    DownloadsWeekly Downloads

    1

    Version

    0.2.0

    License

    ISC

    Last publish

    Collaborators

    • ericsoco
    • mojodna
    • stamen