Google Maps - GeoTool

add handy tool to Google Maps to export to GPX / CSV and many other maps (direction route -> markers / POIs)

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name     Google Maps - GeoTool
// @description    add handy tool to Google Maps to export to GPX / CSV and many other maps (direction route -> markers / POIs)
// @version  1.1
// @grant    none
// @match    https://www.google.com/maps/*
// @match    https://www.google.de/maps/*
// @namespace https://greasyfork.org/users/767993
// ==/UserScript==


console.log("loaded1");

//document.addEventListener("DOMContentLoaded", function(event) { 
  console.log("loaded2");
  setInterval(function(){  // setTimeout
  	console.log("loaded3");
    //alert("Hello");
    document.getElementById("gb").innerHTML = "<a style='padding:1em;margin:0em;background-color:white;border:1px solid;' href=\"javascript:void(window.open('http://geo.klein-computing.de/gpx_tool.html#google:'+btoa(location.href)));\">GeoTool</a>";
  }, 1000); // 3000
//});