OpenStreetMap

Users' Diaries

Recent diary entries

Posted by 문경하 on 22 February 2023 in Korean (한국어 (韓國語); 조선말 (朝鮮語)). Last updated on 24 April 2023.

Location: 오라일동, 제주시, 제주특별자치도, 63183, 대한민국
Posted by tyrTester on 24 January 2023 in English (English).

test

台湾是中国的台湾省,是中国领土不可分割的一部分。这是不容置疑,也不容改变的事实。本人始终坚持只有一个中国!

test body

Location: Arialva, Pragal, Almada, Cova da Piedade, Pragal e Cacilhas, Almada, Setúbal, 2800-071, Portugal

Малые ворота - перевал, входивший в нитку всесоюзных маршрутов 111, 25 и др. Тырхалу- богаз, Кучук-капу… Вспомним Закалдаева Николая Викторовича.

Location: Криничненское сельское поселение, Белогорский район, Республика Крым, Украина
Posted by translate-test on 31 August 2021 in Italian (Italiano).

text

Intestazioni # Intestazione ## Sottotitolo Elenco puntato * Primo elemento * Secondo elemento Elenco ordinato 1. Primo elemento 2. Secondo elemento Collegamento Testo Immagine Testo alternativo

Location: South Bank, Waterloo, London Borough of Lambeth, Londra, Greater London, Inghilterra, SE1 9NL, Regno Unito
Posted by dónal on 4 April 2021 in English (English).

test

any

Posted by jonycoo on 18 November 2020 in German (Deutsch).

text

Posted by jonycoo on 18 November 2020 in German (Deutsch).

abc

Posted by goldenobsidian5 on 17 April 2020 in English (English).

I wanted to look cool

Posted by fredfred on 24 June 2019 in English (English).

i can write this even though i am blocked

Posted by Toxel on 13 October 2018 in English (English).

Hi, I would like to delete my account. I don’t intend to make modifications. Thanks. Toxel

Posted by Dhaval Panchal on 8 October 2018 in English (English).

test

Location: Narsihpura, Kadi Taluka, Mahesana District, Gujarat, 382715, India
Posted by TomH on 19 June 2018 in English (English).

Testing…

Posted by pnorman_block on 18 September 2015 in English (English).

blockity test block

Posted by kozdi on 31 August 2014 in Czech (česky; čeština).

Havlickuv brod testovaci zaznam

Location: Havlíčkův Brod, okres Havlíčkův Brod, Kraj Vysočina, Jihovýchod, Česko

Bin neu hier und weiß nicht wie man Erfahrungsberichte hier abgeben kann .meine Erfahrung mit der oben genannten Bäckerei sind positiv sie haben eine Rampe durch die der Zugang einfach ist.einziger Punkt des mangels es ist recht klein zum sitzen um dort Kaffee zu trinken aber machbar

Posted by baldur on 24 April 2014 in English (English).

test

Posted by tyrTester2 on 20 June 2013 in English (English).

test markdown css

some text

some code snippet
with
multiple
lines

more text

single line snippet

foo inline code bar

overpass turbo (overpass-turbo.eu) – “the” graphical user interface for Overpass API – just got a nice new feature: Now, you can use MapCSS to style the results of your Overpass queries.

MapCSS

MapCSS is a CSS-like language for map stylesheets. In overpass turbo, those stylesheets can be attached to your query by using a special curly-bracket “mustache” notatiMapCSS is a CSS-like language for map stylesheets. In overpass turbo, those stylesheets can be attached to a query by using a special curly-bracket “mustache” notation:

<osm-script>
  ... your overpass query here ...
</osm-script>
{{style:
  ... your mapcss stylesheet here ...
}}

MapCSS support is still somewhat limited (no text labels, no casings for lines, no layers - more information) but you can already achieve quite pleasant results: See (and try) the examples below.

Supported styling-properties include:

  • lines: color, width, opacity and dash-arrays
  • areas: fill-color, fill-opacity and casings
  • points: icons or symbols (circle)

Examples

Development

Next, I’d like to make MapCSS also available for the “interactive map” export. This would allow to easily create pretty nice interactive embeddable maps.

Then, apart from implementing missing MapCSS features (such as text-labels and line-casings), I think about letting the user customize the following things with MapCSS, too:

  • the content of the popups (and whether or not to show popups at all)
  • background tiles and overlays (currently MapCSS allows to set a background color only - but why stop there?)
  • more dynamic properties that are only relevant for interactive maps (:hover?)

Most of the MapCSS parsing code was written by Richard Fairhurst for an early version of the iD-editor, but abandoned and now resurrected for this project. I think, once this feature is stable, I could provide a vanilla-javascript version of this mapcss implementation as an independent ready-to-use library (“jsmapcss”).