While we're devoloping CartoDB, we've to update the CartoDB.js version that we're pointing. To do that:
git submodule update
Before updating, if there are errors like for example:
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>T3chfest | CartoDB.js</title> | |
| <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> | |
| <link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" /> | |
| <style> | |
| html, body, #map { | |
| height: 100%; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Bug IE | CartoDB.js</title> | |
| <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> | |
| <link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" /> | |
| <style> | |
| html, body, #map { | |
| height: 100%; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Positron HTTPS| CartoDB.js</title> | |
| <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> | |
| <link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" /> | |
| <style> | |
| html, body, #map { | |
| height: 100%; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Named Map with layer selectors | CartoDB.js</title> | |
| <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> | |
| <link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" /> | |
| <style> | |
| html, body, #map { |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Basemaps | CartoDB.js</title> | |
| <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> | |
| <link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" /> | |
| <style> | |
| html, body, .map { | |
| height: 200px; |
Using MacOSX.
Open your browser and log in your CartoDB account.
Get your API key:
2a) Click on your "user-->Your API keys" option. (Up-right section)
| <!DOCTYPE html"> | |
| <html> | |
| <head> | |
| <title> | |
| Tooltips | CartoDB | |
| </title> | |
| <meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
| <link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico"> | |
| <style type="text/css"> |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>World flags | CartoDB.js</title> | |
| <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> | |
| <link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" /> | |
| <style> | |
| html, body, #map { | |
| height: 100%; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Easy example | CartoDB.js</title> | |
| <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> | |
| <link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" /> | |
| <style> | |
| html, body, #map { | |
| /*position:absolute;*/ |