User:Vsandre
Jump to navigation
Jump to search
| |||||||||
This user uses or has experience with a Wintec WBT-201 and is willing to answer questions on it from OSM users. | |||||||||
|
Javascript Bookmarks
Open Changeset in the OSM History Browser
If you are looking at a changeset page, you are able to open this changeset in the OSM History Browser. It is going to open a new window or tab.
javascript:(function(){var urls=new String(document.location); var loc=urls.split("/");if(loc[loc.length-2]=="changeset") {void(open("http://osmhv.openstreetmap.de/changeset.php?id="+loc[loc.length-1]));}})();
Add Mapnik in a Google Map
javascript:(function(){var copyright = new GCopyrightCollection("<a href='http://www.openstreetmap.org/'>OpenStreetMap</a>"); copyright.addCopyright(new GCopyright(1,new GLatLngBounds(new GLatLng(-90,-180),new GLatLng(90,180)),0,"")); var tilesMapnik=new GTileLayer(copyright,1,17,{tileUrlTemplate:'http://tile.openstreetmap.org/{Z}/{X}/{Y}.png'}); var mapMapnik=new GMapType([tilesMapnik], G_NORMAL_MAP.getProjection(), "Mapnik"); map.addMapType(mapMapnik);})();
Edit in rawEdit
Open a node/way/relation with RawEdit while viewing the browse or history page of the OSM element.
javascript:(function(){var hist=0;var urls=new String(document.location);var loc=urls.split("/");if(loc[loc.length-1]=="history"){hist=1;};var osmtype=loc[loc.length-hist-2];if((osmtype=="way")||(osmtype=="node")||(osmtype=="relation")){void(open("http://rawedit.openstreetmap.fr/edit/"+osmtype+"/"+loc[loc.length-hist-1]));};})();