Skip to content

Instantly share code, notes, and snippets.

∫ ∪ ∧∴ ∋ ∈ ⊇ ∧ Sumbera

Block or report user

Report or block Sumbera

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Sumbera
Sumbera / index.html
Created Sep 29, 2015
WebGL polyline tessellation with tesspathy
View index.html
<!doctype html>
<html>
<head>
<title>Polyline Tesspathy</title>
<meta charset="utf-8">
<style>
html, body {
height: 100%;
padding: 0;
@Sumbera
Sumbera / index.html
Last active Jan 6, 2017
SVG default overlay in Leaflet v 1.0
View index.html
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>SVG default SVG in Leaflet 1.0</title>
<link rel="stylesheet" href="http://www.sumbera.com/gist/js/leaflet/svg/scaled/leaflet.css" />
<style>
body {
margin: 0px;
@Sumbera
Sumbera / L.SvgScaleOverlay.js
Last active Jul 20, 2018
SVG scaled overlay in Leaflet
View L.SvgScaleOverlay.js
/*
Stanislav Sumbera, August , 2015
- scaled SVG draw prototype on top of Leaflet 1.0 beta
- note it uses L.map patch to get it working right
- SVG data are not modified, only scaled and optionaly radius/stroke width etc. can be specified on onScaleChange callback
- very experimental
*/
//-- Patch to get leaflet properly zoomed
@Sumbera
Sumbera / LICENSE.txt
Last active Jun 26, 2018
Many Polygons with geojson-vt on Leaflet
View LICENSE.txt
Licensed under MIT
Copyright (c) 2015 Stanislav Sumbera,
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
(the "Software"), to deal in the Software without restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
@Sumbera
Sumbera / Readme.md
Last active May 8, 2018
WebGL polygon triangulation with earcut.js
View Readme.md

Simple earcut 1.4 test of triangulation for polygons for webgl drawing. Viedo of 250MB large geojson file:

see discussion also here

@Sumbera
Sumbera / index.html
Last active Dec 12, 2016
WMS overlay on MapBox-gl-js (0.5.2)
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title>WMS overlay with MabBox-gl-js (0.5.2)</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src="http://www.sumbera.com/gist/js/mapbox/dist/mapbox-gl.js"></script>
<link href="http://www.sumbera.com/gist/js/mapbox/dist/mapbox-gl.css" rel="stylesheet" />
<script src="http://www.sumbera.com/gist/js/mapbox/mbstyles/hybrid.js"></script>
@Sumbera
Sumbera / index.html
Last active Sep 29, 2015
Polyline tessellation with MapBox-gl-js
View index.html
<!doctype html>
<html>
<head>
<title>Polyline tessellation with MapBox-gl-js</title>
<meta charset="utf-8">
<style>
html, body {
height: 100%;
padding: 0;
@Sumbera
Sumbera / index.html
Last active Jan 6, 2017
Polyline tessellation test with Pixi.js
View index.html
<!doctype html>
<html>
<head>
<title>Polyline tessellation test with Pixi.js</title>
<meta charset="utf-8">
<style>
html, body {
height: 100%;
padding: 0;
@Sumbera
Sumbera / README.md
Last active Aug 29, 2015
Polygon libtess fill in WebGL
View README.md

libtess.js test on medium large polygon, more info here

@Sumbera
Sumbera / README.md
Last active Dec 12, 2016
Tiled WMS overlay using ArcGIS JavaScript lib
View README.md

Sample of using Tiled WMS overlay with ArcGIS JavaScript API 3.9.

You can’t perform that action at this time.