h:En:Marker in URL

Aus OpenSeaMap-dev
Wechseln zu: Navigation, Suche
Sprachen: Deutsch English

Please improve the English translation...

Marker with text

By the tool Marker in URL you can save the current state of the full screen map as a URL and pass it on to third parties. The center of the image, the selected zoom level, and the activated layers are saved. In addition, a marker with a descriptive text can be saved.

The URL can be sent by e-mail or used as a link on websites.

When the user opens this link, he sees the same chart section: size of the section, center of the chart, zoom level, view of the layers, the marker in the correct position, and clicking on the marker will bring up a description text pop up.

Open the permalink tool

Open the tool "Permalink" in the menu "Tools".

At the bottom you can always see your current link in the "URL" field.
After clicking in the field, it is marked and can be copied to the clipboard (eg press [Ctrl-c])

Set a Marker

Tool "Permalink"

To mark a specific position, you can set a marker.

As long as the tool "Permalink" is open, you can mark a position by clicking on the map.
The further you zoom in, the more accurate you can position the marker.
Then zoom out again to select the pass map section.
Each additional click restores the marker.

The link will be automatically adjusted in the URL field after each change.

Add text

You can add a text that will be displayed at the marker in a speech bubble.

To do this, write the text to be displayed in the "Permalink" tool in the text window.
Allowed are letters and numbers (including umlauts, spaces and special characters).

HTML code is not allowed.

Exception:
What Code
Bold   <b>Bold</b>  
Line break   <Return>

The link will be automatically adjusted in the URL field after each change.

Determine map section

Slide and zoom the map until you see the matching neckline.

The link is automatically adjusted in the URL text area after each change.

Select layers

The layers can be arbitrarily selected and put together.

The link will be automatically adjusted in the URL field after each change.

Permalink without marker

To get a permaink without markers, there is a faster way:

  • Select the map section at the desired zoom level and the layers to be displayed.
  • Click on "Permalink" in the lower right corner of the map.
  • Now in the address bar of the browser is now your link.

You can right-click the permalink on the bottom right (copy the link address)
or in the browser in the address bar with "mark everything" ([Ctrl-a] and [Ctrl-c]) copy into the dashboard.

Workaround for a marker without text

A bug in the tool prevents a marker from being displayed without text.

Here is a quick workaround:

Markers visible
http://map.openseamap.org/?zoom=12&lat=54.153&lon=11.654&mlat=54.19420&mlon=11.64748&layers=BTTFFFTFFTF0FFFFFFFFFF
Hidden marker
http://map.openseamap.org/?zoom=12&lat=54.153&lon=11.654&mlat=54.19420&mlon=11.64748&layers=BFTFFFTFFTF0FFFFFFFFFF

The difference lies in the 2nd position in the layer string. (T vs F)