Está en la página 1de 2

1 <div id="map" style="width: 100vw; height: 100vh;

HTML
1
CSS

background: white"></div>

Fiddle Meta

Untitled ddle

No description

Add title to make the ddle public.


1 var map = L.map('map'); JAVASCRIPT
2
3 // var cartodbAttribution = '&copy; <a
External Resources 3 href="http://www.openstreetmap.org/copyright">OpenSt
reetMap</a> contributors, &copy; <a
AJAX Requests href="http://cartodb.com/attributions">CartoDB</a>';
4 //
Legal, Credits and Links 5 // var positron =
L.tileLayer('http://{s}.basemaps.cartocdn.com/light_
JSFiddle Roadmap nolabels/{z}/{x}/{y}.png', {
suggest and vote for features 6 // attribution: cartodbAttribution,
7 // opacity: 0.5
8 // }).addTo(map);
9
10
11 var vectorTileStyling = {
12
13 water: {
14 fill: true,
15 weight: 1,
16 fillColor: '#06cccc',
17 color: '#06cccc',
18 fillOpacity: 0.2,
Website Fire drill? Try the
19 opacity: 0.4,
Uncrashable Hosting Platform
20 },
ads via Carbon 21 admin: {

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
22 weight: 1,
fillColor: 'pink',
23
+ MapZen Vector Tiles

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD

También podría gustarte