This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Grant CesiumJS access to your ion assets | |
Cesium.Ion.defaultAccessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJiNzg2OTI5Ni1hOTY2LTRjZDYtYjdlMy1lZjM2YTlhNzU3YWIiLCJpZCI6MTg3NTIsInNjb3BlcyI6WyJhc3IiLCJnYyJdLCJpYXQiOjE1NzQzNTAyNTB9.42EaQ9sZ9b8Qa3_W5c4opP_ARS3LYY9c-xAz9g_UrkY"; | |
var viewer = new Cesium.Viewer("cesiumContainer"); | |
var location = Cesium.Cartesian3.fromDegrees(7.05468, 46.61793); | |
var plane = Cesium.Plane.transform(Cesium.Plane.ORIGIN_ZX_PLANE, Cesium.Transforms.eastNorthUpToFixedFrame(location)); | |
var ids = [68881, 139225]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var viewer = new Cesium.Viewer('cesiumContainer', { | |
selectionIndicator : false, | |
infoBox : false, | |
terrainProvider : Cesium.createWorldTerrain() | |
}); | |
viewer.scene.screenSpaceCameraController.enableCollisionDetection = false; | |
viewer.scene.globe.translucencyEnabled = true; | |
viewer.scene.globe.frontTranslucencyByDistance = new Cesium.NearFarScalar(100, 0.5, 10000, 1.0); | |
viewer.scene.globe.backTranslucency = 1.0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding="UTF-8" ?> | |
<wfs:FeatureCollection | |
xmlns:ms="http://mapserver.gis.umn.edu/mapserver" | |
xmlns:gml="http://www.opengis.net/gml" | |
xmlns:wfs="http://www.opengis.net/wfs" | |
xmlns:ogc="http://www.opengis.net/ogc" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://mapserver.gis.umn.edu/mapserver https://int.chavannes-des-bois.geocommunes.paas-ch-3.camptocamp.com/mapserv_proxy?ogcserver=source%20for%20image%2Fpng&SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=feature:tp_bus_l,feature:tp_bus_s,feature:tp_train_l,feature:tp_train_s,feature:tp_bateau_s,feature:com_lim&OUTPUTFORMAT=SFE_XMLSCHEMA http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"> | |
<gml:boundedBy> | |
<gml:Envelope srsName="EPSG:2056"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>will-change</title> | |
<meta charset="utf-8" /> | |
<style> | |
#foo { | |
width: 100px; | |
height: 20px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const img = new Image(); | |
img.src = 'https://unpkg.com/@mapbox/maki@4.0.0/icons/fuel-15.svg'; | |
img.decode() | |
.then(() => { | |
console.log('loaded'); | |
}) | |
.catch(() => { | |
console.log('error'); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 1f495ed69eb49d6bed3f9bee0d24ad087ad688b9 | |
Author: Frédéric Junod <frederic.junod@camptocamp.com> | |
Date: Fri May 31 13:29:35 2019 +0200 | |
Remove TOUCH, POINTER and MSPOINTER from ol/has | |
diff --git a/changelog/upgrade-notes.md b/changelog/upgrade-notes.md | |
index 3825d1df6..19c397bb7 100644 | |
--- a/changelog/upgrade-notes.md | |
+++ b/changelog/upgrade-notes.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> <kml xmlns="http://www.opengis.net/kml/2.2"> <Document id="root_doc"> <Folder> <name>multiline</name> <Placemark> <styleUrl>#LineStyle00</styleUrl> <MultiGeometry> <LineString> <coordinates>7.77831300120992,45.1829836522005 8.40710690615978,46.5742520560659 9.39733352812806,46.7029815169218 9.81322870935474,46.2573795370361</coordinates> </LineString> <LineString> <coordinates>7.83772659852802,44.8809645325002 8.34769330884168,45.0790098568938 8.52593410079597,46.2969886019148 9.39733352812806,46.3613533323428 9.88749570600236,45.9256536186767</coordinates> </LineString> </MultiGeometry> </Placemark> <Placemark> <styleUrl>#LineStyle00</styleUrl> <MultiGeometry> <LineString> <coordinates>8.14469685133819,44.6086522114589 8.72893055829947,44.7571862047541 8.81805095427662,45.9702138166653 8.53583636701566,45.0839609900037 7.81297093297881,45.0493030582348</coordinates> </LineString> <LineString> <coordinates>9.24137283516806,46.2251971718221 9.27603076693695,45.6162077993 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://1344-4723248-gh.circle-artifacts.com/0/examples/mapbox-style.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
date | page | |
---|---|---|
2019-04-03 | 0 | |
2019-04-03 | 13 | |
2019-04-04 | 32 | |
2019-04-05 | 69 | |
2019-04-07 | 141 | |
2019-04-07 | 163 | |
2019-04-08 | 188 | |
2019-04-08 | 206 | |
2019-04-09 | 226 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
lock() { | |
i3lock | |
} | |
case "$1" in | |
lock) | |
lock | |
;; | |
logout) |
NewerOlder