Viewer Comparison

Javascript viewerAutomatic viewerStatic viewer
heightyesyesyes
kml_attributionyesnono
kml_attribution_urlyesnono
kml_license_nameyesnono
kml_license_urlyesnono
kml_urlyesnono
latyesyesyes
lonyesyesyes
navigationyesnono
mlatyesyesyes
mlat0, ..., mlat63yesyesyes
mlonyesyesyes
mlon0, ..., mlon63yesyesyes
plainMouseWheelZoomyesnono
widthyesyesyes
zoomyesyesyes

URL-parameter details

height

Typenon-negative integer
Mandatory?no
Available in Javascript viewer?yes (default: 100%)
Available in Automatic viewer?yes (default: 768)
Available in Static viewer?yes (default: 768)

The map's height in Pixel.

Only positive multiples of 256 (i.e.: 256, 512, 768, ...) are allowed for the automatic and the static viewer (due to the size of the OpenStreetMap tiles).

The Javascript Viewer allows arbitrary values starting from 170. Furthermore, the Javascript viewer allows to specify the map's width as percentage of the total width (e.g.: 60%). Note that you have to escape the percentage sign (i.e.: use “%25” instead of “%” in the URL)

Examples:
https://osm.quelltextlich.at/viewer-js_en.html?height=256
https://osm.quelltextlich.at/viewer-js_en.html?height=60%25
https://osm.quelltextlich.at/viewer-automatic_en.html?height=256
https://osm.quelltextlich.at/viewer-static_en.html?height=256

(Back to the comparison table)

kml_attribution

TypeURL
Mandatory?no
Available in Javascript viewer?yes (default: kml_attribution_url)
Available in Automatic viewer?no
Available in Static viewer?no

The attribution of the KML layer

This parameter is only used, if the parameter kml_url is set as well.

Example:
https://osm.quelltextlich.at/viewer-js_en.html?kml_url=https%3A%2F%2Fosm.quelltextlich.at%2Fdemo%2Fdemo.kml&kml_attribution=OSMTools

(Back to the comparison table)

kml_attribution_url

Typestring
Mandatory?no
Available in Javascript viewer?yes (default: First part of kml_url)
Available in Automatic viewer?no
Available in Static viewer?no

The URL for the attribution of the KML layer

This parameter is only used, if the parameter kml_url is set as well.

Example:
https://osm.quelltextlich.at/viewer-js_en.html?kml_url=https%3A%2F%2Fosm.quelltextlich.at%2Fdemo%2Fdemo.kml&kml_attribution_url=https%3A%2F%2Fosm.quelltextlich.at%2F

(Back to the comparison table)

kml_license_name

Typestring
Mandatory?no
Available in Javascript viewer?yes (default: license)
Available in Automatic viewer?no
Available in Static viewer?no

Name/description of the license ofthe KML layer's file

This parameter is only used, if the parameter kml_url is set as well.

Example:
https://osm.quelltextlich.at/viewer-js_en.html?kml_url=https%3A%2F%2Fosm.quelltextlich.at%2Fdemo%2Fdemo.kml&kml_license_name=CC0%201.0

(Back to the comparison table)

kml_license_url

Typestring
Mandatory?no
Available in Javascript viewer?yes (default: <none>)
Available in Automatic viewer?no
Available in Static viewer?no

The URL for the license ofthe KML layer's file

This parameter is only used, if the parameter kml_url is set as well.

If kml_license_name holds one of the following values, the url is obtained automatically: CC0 1.0, CC-BY 2.0, CC-BY 3.0, CC-BY-NC 2.0, CC-BY-NC 3.0, CC-BY-NC-ND 2.0, CC-BY-NC-ND 3.0, CC-BY-NC-SA 2.0, CC-BY-NC-SA 3.0, CC-BY-ND 2.0, CC-BY-ND 3.0, CC-BY-SA 2.0, CC-BY-SA 3.0

Example:
https://osm.quelltextlich.at/viewer-js_en.html?kml_url=https%3A%2F%2Fosm.quelltextlich.at%2Fdemo%2Fdemo.kml&kml_license_url=https%3A%2F%2Fcreativecommons.org%2Fpublicdomain%2Fzero%2F1.0%2Fdeed.de

(Back to the comparison table)

kml_url

TypeURL
Mandatory?no
Available in Javascript viewer?yes (default: <none>)
Available in Automatic viewer?no
Available in Static viewer?no

The URL of the KML-file that should be added as overlay.

Example:
https://osm.quelltextlich.at/viewer-js_en.html?kml_url=https%3A%2F%2Fosm.quelltextlich.at%2Fdemo%2Fdemo.kml

(Back to the comparison table)

lat

Typefloat
Mandatory?no
Available in Javascript viewer?yes (default: 48.8567)
Available in Automatic viewer?yes (default: 48.8567)
Available in Static viewer?yes (default: 48.8567)

Latitude of the map's initial center.

This parameter is only used, if the parameters, lon and zoom are set as well.

Examples:
https://osm.quelltextlich.at/viewer-js_en.html?lat=51.5093&lon=-0.1183&zoom=8
https://osm.quelltextlich.at/viewer-automatic_en.html?lat=51.5093&lon=-0.1183&zoom=8
https://osm.quelltextlich.at/viewer-static_en.html?lat=51.5093&lon=-0.1183&zoom=8

(Back to the comparison table)

lon

Typefloat
Mandatory?no
Available in Javascript viewer?yes (default: 2.3517)
Available in Automatic viewer?yes (default: 2.3517)
Available in Static viewer?yes (default: 2.3517)

Longitude of the map's initial center.

This parameter is only used, if the parameters, lat and zoom are set as well.

Examples:
https://osm.quelltextlich.at/viewer-js_en.html?lat=48.2083&lon=16.3731&zoom=10
https://osm.quelltextlich.at/viewer-automatic_en.html?lat=48.2083&lon=16.3731&zoom=10
https://osm.quelltextlich.at/viewer-static_en.html?lat=48.2083&lon=16.3731&zoom=10

(Back to the comparison table)

navigation

Typeboolean
Mandatory?no
Available in Javascript viewer?yes (default: true)
Available in Automatic viewer?no
Available in Static viewer?no

If 'false', hide navigation controls. Otherwise show them.

Maps without navigation controls are harder to use. So only hide the controls after careful consideration.

Examples:
https://osm.quelltextlich.at/viewer-js_en.html?navigation=false
https://osm.quelltextlich.at/viewer-automatic_en.html?navigation=false
https://osm.quelltextlich.at/viewer-static_en.html?navigation=false

(Back to the comparison table)

mlat

Typefloat
Mandatory?no
Available in Javascript viewer?yes (default: <none>)
Available in Automatic viewer?yes (default: <none>)
Available in Static viewer?yes (default: <none>)

Latitude of the location that shall be flagged. (see mlon for the flag's longitude).

This parameter is only used, if additionally mlon is set as well.

Examples:
https://osm.quelltextlich.at/viewer-js_en.html?mlat=52.5186&mlon=13.4080
https://osm.quelltextlich.at/viewer-automatic_en.html?mlat=52.5186&mlon=13.4080
https://osm.quelltextlich.at/viewer-static_en.html?mlat=52.5186&mlon=13.4080

(Back to the comparison table)

mlat0, ..., mlat63

Typefloat
Mandatory?no
Available in Javascript viewer?yes (default: <none>)
Available in Automatic viewer?yes (default: <none>)
Available in Static viewer?yes (default: <none>)

mlati (where i ranges from 0 to 63) denotes the latitude for the marker i (The marker's longitude is given by the corresponding parameter mloni).

The parameter mlati is only used, if additionally mloni is set as well.

If mlat is set, while mlat0 is not, then mlat0 is assigned the value of mlat.

Examples:
https://osm.quelltextlich.at/viewer-js_en.html?mlat0=52.5186&mlon0=13.4080
https://osm.quelltextlich.at/viewer-automatic_en.html?mlat0=52.5186&mlon0=13.4080
https://osm.quelltextlich.at/viewer-static_en.html?mlat0=52.5186&mlon0=13.4080

(Back to the comparison table)

mlon

Typefloat
Mandatory?no
Available in Javascript viewer?yes (default: <none>)
Available in Automatic viewer?yes (default: <none>)
Available in Static viewer?yes (default: <none>)

Longitude of the location that shall be flagged. (see mlat for the flag's latitude).

This parameter is only used, if additionally mlat is set as well.

Examples:
https://osm.quelltextlich.at/viewer-js_en.html?mlat=52.5186&mlon=13.4080&zoom=6
https://osm.quelltextlich.at/viewer-automatic_en.html?mlat=52.5186&mlon=13.4080&zoom=6
https://osm.quelltextlich.at/viewer-static_en.html?mlat=52.5186&mlon=13.4080&zoom=6

(Back to the comparison table)

mlon0, ..., mlon63

Typefloat
Mandatory?no
Available in Javascript viewer?yes (default: <none>)
Available in Automatic viewer?yes (default: <none>)
Available in Static viewer?yes (default: <none>)

mloni (where i ranges from 0 to 63) denotes the longitude for the marker i (The marker's latitude is given by the corresponding parameter mlati).

The parameter mloni is only used, if additionally mlati is set as well.

If mlon is set, while mlon0 is not, then mlon0 is assigned the value of mlon.

Examples:
https://osm.quelltextlich.at/viewer-js_en.html?mlat0=52.5186&mlon0=13.4080&zoom=6
https://osm.quelltextlich.at/viewer-automatic_en.html?mlat0=52.5186&mlon0=13.4080&zoom=6
https://osm.quelltextlich.at/viewer-static_en.html?mlat0=52.5186&mlon0=13.4080&zoom=6

(Back to the comparison table)

plainMouseWheelZoom

Typeboolean
Mandatory?no
Available in Javascript viewer?yes (default: true)
Available in Automatic viewer?no
Available in Static viewer?no

If 'false', turning the mouse's scroll wheel alone no longer zooms the map. Only when holding down the control key ('Ctrl'), turning the mouse wheel will zoom the map.

Examples:
https://osm.quelltextlich.at/viewer-js_en.html?plainMouseWheelZoom=false
https://osm.quelltextlich.at/viewer-automatic_en.html?plainMouseWheelZoom=false
https://osm.quelltextlich.at/viewer-static_en.html?plainMouseWheelZoom=false

(Back to the comparison table)

width

Typenon-negative integer
Mandatory?no
Available in Javascript viewer?yes (default: 100%)
Available in Automatic viewer?yes (default: 1024)
Available in Static viewer?yes (default: 1024)

The map's width in Pixel.

Only positive multiples of 256 (i.e.: 256, 512, 768, ...) are allowed for the automatic and the static viewer (due to the size of the OpenStreetMap tiles).

The Javascript Viewer allows arbitrary values starting from 170. Furthermore, the Javascript viewer allows to specify the map's width as percentage of the total width (e.g.: 80%). Note that you have to escape the percentage sign (i.e.: use “%25” instead of “%” in the URL)

Examples:
https://osm.quelltextlich.at/viewer-js_en.html?width=256
https://osm.quelltextlich.at/viewer-js_en.html?width=80%25
https://osm.quelltextlich.at/viewer-automatic_en.html?width=256
https://osm.quelltextlich.at/viewer-static_en.html?width=256

(Back to the comparison table)

zoom

Typenon-negative integer
Mandatory?no
Available in Javascript viewer?yes (default: 11)
Available in Automatic viewer?yes (default: 11)
Available in Static viewer?yes (default: 11)

The map's initial zoom level.

Possible values are 0, 1, ..., 18, where 0 refers to the most coarse zoom level and 18 denotes the most detailled zoom level.

This parameter is only used, if the parameters, lat and lon are set as well.

Examples:
https://osm.quelltextlich.at/viewer-js_en.html?lat=50.0886&lon=14.4213&zoom=11
https://osm.quelltextlich.at/viewer-automatic_en.html?lat=50.0886&lon=14.4213&zoom=11
https://osm.quelltextlich.at/viewer-static_en.html?lat=50.0886&lon=14.4213&zoom=11

(Back to the comparison table)