
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
tangram.cartodb
Advanced tools

me$ npm i tangram-cartocss
// or
me$ yarn add tangram-cartocss
import TC from 'tangram.cartodb';
new TC/**
* Cartodb api to handle tangram maps.
* @param {LeafletMap} map object with a leaflet map instance
* @return {TangramScene} return a Tangram wrapper with a complete api for cartodb.js
*/
var tangramScene = new TC(map);
.addLayer/**
* Add a layer to Tangram instance.
* @param {Object} layer layer object model
*/
tangramScene.addLayer(layer);
.addDataSource/**
* Add a dataSource to Tangram instance.
* @param {String} url tile url generated by cartodb.js
*/
tangramScene.addDataSource('http://flo.localhost.lan:8181/api/v1/map/flo@4d30aeba@77e23386655d49f11e3cc4e729105014:1478776666976/{sourceLayers}/{z}/{x}/{y}.png');
me$ git clone $repo_url
cd into_folder
yarn
yarn start
It will print the dev url to try the demos.
[0001] info Server running at http://192.168.0.12:8000/ (connect)
[0001] info LiveReload running on 35729
[0003] 43ms 1115B GET 200 /
[0003] 7ms 886B GET 200 /demos/css/main.css
[0004] 220ms 12KB GET 200 /demos/main.js
We use ES6 and Node > 6.X, I'm using 7.0 right now.
##Â Testing
Serve our testing application with
yarn watch
This will open a dev server in http://10.0.32.188:8000 where you can load custom maps.
FAQs
Library to render webgl maps using tangram and carto.
The npm package tangram.cartodb receives a total of 628 weekly downloads. As such, tangram.cartodb popularity was classified as not popular.
We found that tangram.cartodb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 15 open source maintainers collaborating on the project.
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.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.