I never use the top bars in Google Calendar, they're just a waste of space to me. A little CSS:
#onegoogbar {
display:none;
}
.mbox {
<qgsScales version="1.0"> | |
<scale value="1:591657551"/> | |
<scale value="1:295828775"/> | |
<scale value="1:147914388"/> | |
<scale value="1:73957194"/> | |
<scale value="1:36978597"/> | |
<scale value="1:18489298"/> | |
<scale value="1:9244649"/> | |
<scale value="1:4622324"/> | |
<scale value="1:2311162"/> |
-- Instance of ST_AsText that can handle an array of geometries | |
create or replace function ST_AsText(geometry[]) | |
returns text | |
language plpgsql immutable as | |
$$ | |
declare | |
g geometry; | |
res text := '{'; | |
begin | |
if $1 is null or array_length($1, 1) = 0 then |
-- ZRES | |
-- Takes a web mercator zoom level and returns the pixel resolution for that | |
-- scale, assuming 256x256 pixel tiles. Non-integer zoom levels are accepted. | |
-- For databases with the PostGIS extension enabled. | |
create or replace function zres(z float) | |
returns float | |
language plpgsql immutable | |
as $func$ | |
begin |
#!/bin/bash | |
set -e -u | |
domain='http://geojson.io' | |
infile='' | |
if (uname | grep -q 'Darwin'); then | |
open='open' | |
else | |
open='xdg-open' |
text: 12 'Arial Regular' line; | |
// text-size: 12; | |
// text-face-name: 'Arial Regular'; | |
// text-placement: line; | |
text-wrap: before 100 '|'; | |
// text-wrap-before: true; | |
// text-wrap-width: 100; | |
// text-wrap-character: '|'; |
#maki { | |
marker-file: url("/home/aj/Code/maki/src/[icon]-[size].svg"); | |
marker-allow-overlap: true; | |
[zoom>=6] { | |
[size=12] { marker-width: 12 * 2; } | |
[size=18] { marker-width: 18 * 2; } | |
[size=24] { marker-width: 24 * 2; } | |
} | |
[zoom>=7] { | |
[size=12] { marker-width: 12 * 3; } |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src='http://api.tiles.mapbox.com/mapbox.js/v1.0.2/mapbox.js'></script> | |
<link href='http://api.tiles.mapbox.com/mapbox.js/v1.0.2/mapbox.css' rel='stylesheet' /> | |
<!--[if lte IE 8]> | |
<link href='http://api.tiles.mapbox.com/mapbox.js/v1.0.2/mapbox.ie.css' rel='stylesheet' > | |
<![endif]--> | |
<style> | |
body { margin:0; padding:0; } |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src='http://api.tiles.mapbox.com/mapbox.js/v1.0.2/mapbox.js'></script> | |
<link href='http://api.tiles.mapbox.com/mapbox.js/v1.0.2/mapbox.css' rel='stylesheet' /> | |
<!--[if lte IE 8]> | |
<link href='http://api.tiles.mapbox.com/mapbox.js/v1.0.2/mapbox.ie.css' rel='stylesheet' > | |
<![endif]--> | |
<style> | |
body { margin:0; padding:0; } |