Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native MGL integration #886

Merged
merged 41 commits into from
Aug 24, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
a0b1cf3
Update MGL to 0.48.0-carto1
Jesus89 Aug 21, 2018
122a2a3
Update MGL version in the examples
Jesus89 Aug 21, 2018
fb0b376
Implement new CustomLayers interface. Remove MGL integrator
Jesus89 Aug 21, 2018
ad29f3e
Simplify Layer.addTo function
Jesus89 Aug 21, 2018
3110b6b
Refactor internal Map to match the new interface. Remove carto map in…
Jesus89 Aug 21, 2018
973a19e
Clean class Layer. Add removeFrom function
Jesus89 Aug 21, 2018
81a501c
Add unit tests
Jesus89 Aug 21, 2018
33f07e7
Rename apiUtils to events
Jesus89 Aug 21, 2018
6cfca5f
Update addTo function to wait for the map to be loaded
Jesus89 Aug 21, 2018
88f6d83
Fix render tests
Jesus89 Aug 21, 2018
2b71ecc
Fix user tests
Jesus89 Aug 21, 2018
cc972ce
Add local basemaps for e2e testing
Jesus89 Aug 21, 2018
742bdac
Fix e2e tests
Jesus89 Aug 21, 2018
42c2dd1
Update example
Jesus89 Aug 21, 2018
645ce3b
Get zoom and center from the render matrix
Jesus89 Aug 22, 2018
3cd4011
Create fake matrix for internal Map
Jesus89 Aug 22, 2018
1778614
Use one renderer per map
Jesus89 Aug 22, 2018
ef69d97
Refactor Layer to include CustomLayer interface functions
Jesus89 Aug 22, 2018
3cc98b8
Restore add-layer example
Jesus89 Aug 22, 2018
362f23e
Refactor interactivity subscription functions
Jesus89 Aug 22, 2018
6699ca2
Fix animation examples headers
Jesus89 Aug 22, 2018
716be56
Fix interactivity examples
Jesus89 Aug 22, 2018
056f191
Request data when matrix changes
Jesus89 Aug 22, 2018
55b0720
Remove unused events
Jesus89 Aug 23, 2018
4236a69
Fix non animated layers
Jesus89 Aug 23, 2018
60509c3
Clean comments
Jesus89 Aug 23, 2018
dec19cb
Apply CR suggestions
Jesus89 Aug 23, 2018
8cad3d8
Decouple the map from the Renderer
Jesus89 Aug 23, 2018
1090c94
Update layer.addTo docs
Jesus89 Aug 23, 2018
a1de080
Improve equalArrays function
Jesus89 Aug 23, 2018
a230897
Improve editor example
Jesus89 Aug 23, 2018
dc70190
Add RenderLayer set functions
Jesus89 Aug 23, 2018
c1d4151
Set zoom center in requireData using the matrix if provided
Jesus89 Aug 23, 2018
1ebc537
Add comment in render
Jesus89 Aug 23, 2018
012327e
Add CR suggestion
Jesus89 Aug 24, 2018
5698911
Refactor setZoomCenter function in Layer
Jesus89 Aug 24, 2018
71ac5e0
Move computeZoom/Center functions to util
Jesus89 Aug 24, 2018
22381cb
Update CHANGELOG
Jesus89 Aug 24, 2018
41869c4
Merge branch 'master' into mgl-integration
Jesus89 Aug 24, 2018
f2f7b08
Update layer.remove() function. Add render test
Jesus89 Aug 24, 2018
edaef0b
Use prerender function to request data
Jesus89 Aug 24, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
paths:
- ./node_modules
- run: echo "127.0.0.1 localhost.localhost.lan" | sudo tee -a /etc/hosts
- run: yarn build:min && yarn wait-on http://localhost.localhost.lan:8181 && MIN=1 yarn mocha test/acceptance/e2e.test.js --timeout 10000
- run: yarn build:min && yarn wait-on http://localhost.localhost.lan:8181 && MIN=1 yarn mocha test/acceptance/e2e.test.js --timeout 15000

test-unit-lint-docs:
docker:
Expand Down
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]
### Added
- Use the new Custom Layer interface with MGL (v0.48.0-carto1)
- Add `layer.remove()` API function
- Make viz optional in `layer.update(source, viz?)` API function
- Throw error for duplicated properties and variables
- Throw error extra arguments are passed to any expression.
- Throw error extra arguments are passed to any expression
- Add reverse expression to arrays, besides palettes

### Changed
Expand All @@ -18,7 +21,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Trigger feature events (hover, enter, leave) when layers are updated
- Improve error message when creating buckets without an array
- ramp($category, ...) implementation is fixed when using multiple categorical properties
- Use undescore in image constants.
- Use underscore in image constants
- Use local basemaps for testing

## Fixed
- Fix animation example
- Fix interactivity examples

### Removed
- Removed XYZ expression
Expand Down
4 changes: 2 additions & 2 deletions debug/MVT.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<!-- Include CARTO VL JS -->
<script src="../dist/carto-vl.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="../examples/style.css">
</head>

Expand Down
4 changes: 2 additions & 2 deletions debug/animation.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<script src="../../dist/carto-vl.js"></script>
<script src='https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js'></script>
<link href='https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css' rel='stylesheet' />
<script src='https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js'></script>
<link href='https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css' rel='stylesheet' />
<style>
body {
margin: 0;
Expand Down
4 changes: 2 additions & 2 deletions debug/animation_sql.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<script src="../../dist/carto-vl.js"></script>
<script src='https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js'></script>
<link href='https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css' rel='stylesheet' />
<script src='https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js'></script>
<link href='https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css' rel='stylesheet' />
<style>
body {
margin: 0;
Expand Down
4 changes: 2 additions & 2 deletions debug/animation_sql_notz.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<script src="../../dist/carto-vl.js"></script>
<script src='https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js'></script>
<link href='https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css' rel='stylesheet' />
<script src='https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js'></script>
<link href='https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css' rel='stylesheet' />
<style>
body {
margin: 0;
Expand Down
4 changes: 2 additions & 2 deletions debug/interactive-based-styling.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<!-- Include CARTO VL JS -->
<script src="../dist/carto-vl.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="../examples/style.css">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions debug/layer-visibility.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<script src="../dist/carto-vl.js"></script>
<!-- <script src="https://cartodb.github.io/carto-vl/dist/carto-vl.js"></script> -->
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400" rel="stylesheet">
<style type="text/css">
* {
Expand Down
4 changes: 2 additions & 2 deletions debug/lines-geojson.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<!-- Include CARTO VL JS -->
<script src="../dist/carto-vl.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
<style>
body {
margin: 0;
Expand Down
4 changes: 2 additions & 2 deletions debug/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<script src="../dist/carto-vl.js"></script>
<script src='https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js'></script>
<link href='https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css' rel='stylesheet' />
<script src='https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js'></script>
<link href='https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css' rel='stylesheet' />
<style>
body {
margin: 0;
Expand Down
4 changes: 2 additions & 2 deletions debug/local-windshaft.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<!-- Include CARTO VL JS -->
<script src="../dist/carto-vl.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="../examples/style.css">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions debug/multi-anim.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<!-- Include CARTO VL JS -->
<script src="../dist/carto-vl.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://cartodb-libs.global.ssl.fastly.net/mapbox-gl/v0.44.1-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://api.tiles.mapbox.com/mapbox-gl-js/v0.44.1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
<style>
body {
margin: 0;
Expand Down
4 changes: 2 additions & 2 deletions debug/point-geojson.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<!-- Include CARTO VL JS -->
<script src="../dist/carto-vl.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
<style>
body {
margin: 0;
Expand Down
4 changes: 2 additions & 2 deletions debug/viewport.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<script src="../dist/carto-vl.js"></script>
<script src='https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js'></script>
<link href='https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css' rel='stylesheet' />
<script src='https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js'></script>
<link href='https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css' rel='stylesheet' />

<style>
body {
Expand Down
4 changes: 2 additions & 2 deletions debug/viewportagg-perf.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<!-- Include CARTO VL JS -->
<script src="../dist/carto-vl.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="../examples/style.css">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/01-getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ The easiest way to use CARTO VL is to include the required files from our CDN. T
<!-- Include CARTO VL JS -->
<script src="https://libs.cartocdn.com/carto-vl/%VERSION%/carto-vl.min.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
</head>
```

Expand Down
4 changes: 2 additions & 2 deletions examples/advanced/denver-trees.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<!-- Include CARTO VL JS -->
<script src="../../dist/carto-vl.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions examples/advanced/external-geojson.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<!-- Include CARTO VL JS -->
<script src="../../dist/carto-vl.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions examples/advanced/hurricane-harvey.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<!-- Include CARTO VL JS -->
<script src="../../dist/carto-vl.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions examples/advanced/landing-page/detroit-development.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<!-- Include CARTO VL JS -->
<script src="../../../dist/carto-vl.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="../../style.css">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions examples/advanced/landing-page/hurricane-harvey.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<!-- Include CARTO VL JS -->
<script src="../../dist/carto-vl.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions examples/advanced/landing-page/rivers.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<!-- Include CARTO VL JS -->
<script src="../../dist/carto-vl.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions examples/advanced/landing-page/spend-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<!-- Include CARTO VL JS -->
<script src="../../dist/carto-vl.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions examples/advanced/landing-page/us-population-by-country.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<!-- Include CARTO VL JS -->
<script src="../../dist/carto-vl.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions examples/advanced/ocean-bathymetry.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<!-- Include CARTO VL JS -->
<script src="../../dist/carto-vl.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions examples/advanced/taxi-pickups.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<!-- Include CARTO VL JS -->
<script src="../../dist/carto-vl.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions examples/advanced/us-population-by-county.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<!-- Include CARTO VL JS -->
<script src="../../dist/carto-vl.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions examples/basics/add-layer.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<!-- Include CARTO VL JS -->
<script src="../../dist/carto-vl.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions examples/basics/basic-style.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<!-- Include CARTO VL JS -->
<script src="../../dist/carto-vl.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions examples/basics/boilerplate.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<!-- Include CARTO VL JS -->
<script src="../../dist/carto-vl.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href='https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css' rel='stylesheet' />
<link href='https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css' rel='stylesheet' />
<style>
body {
margin: 0;
Expand Down
4 changes: 2 additions & 2 deletions examples/basics/multiple-layers.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<!-- Include CARTO VL JS -->
<script src="../../dist/carto-vl.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions examples/basics/query-layer.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<!-- Include CARTO VL JS -->
<script src="../../dist/carto-vl.js"></script>
<!-- Include Mapbox GL JS -->
<script src="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.js"></script>
<script src="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.js"></script>
<!-- Include Mapbox GL CSS -->
<link href="https://libs.cartocdn.com/mapbox-gl/v0.45.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link href="https://libs.cartocdn.com/mapbox-gl/v0.48.0-carto1/mapbox-gl.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
Expand Down
Loading