Skip to content

Instantly share code, notes, and snippets.

@govvin
Created December 23, 2018 02:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save govvin/bfd5e6aa61cf5b999c0aca7e270cc299 to your computer and use it in GitHub Desktop.
Save govvin/bfd5e6aa61cf5b999c0aca7e270cc299 to your computer and use it in GitHub Desktop.
bookmarklet for opening OpenStreetMap elements (nodes, ways, relations, changesets) in Level 0 editor
javascript:(function(){m=(window.getSelection().toString().toLowerCase()||location.href).match(/(|node|way|relation|changeset)\D+(\d+)/);window.open('http://level0.osmz.ru/?url='+(m?m[1]+'/'+m[2]:''));})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment