您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Tag your street views by date&address&generations
当前为
We are excited to announce two new versions of the script: one(Version 2.9) that requires a Google API key and one(Version 3.0) that does not.
Installation: First, you need to install the Tampermonkey extension in your browser. You can find it in the Chrome Web Store for Google Chrome, or in the Add-ons Manager for Firefox.
Adding the Script: Once Tampermonkey is installed, go to the Tampermonkey Dashboard and click on the ‘+’ tab to create a new script. Copy and paste the provided script into the editor and save it.
Usage: This script adds several checkboxes with different labels and a trigger button to your webpage. When you click these checkboxes and the trigger button, the script prompts you to input JSON-formatted data from your clipboard or upload a JSON file. It then retrieves information corresponding to the selected checkboxes, adds these labels to the JSON data, and outputs it back to your clipboard. To get JSON-formatted data, click on the Export button on Map-Making, select the coordinates data you want to process, and click on the Copy button. Alternatively, you can upload a JSON file for processing.
Due to technical limitations, reading from the clipboard may often result in errors, but don’t worry, just try a few more times. If multiple attempts and refreshing the page still fail to read clipboard data, it is recommended that you input data by importing a JSON file.
Please note:
If a coordinate has a panoId, the script retrieves metadata and address information for that panoId from the Google Street View API.
If a coordinate doesn’t have a panoId but has lat and lng, the script searches for metadata and address information based on these coordinates with a default search radius of 50 meters.
The script processes coordinates in chunks of 1000 at a time to manage memory usage efficiently. Once all coordinates are processed, the updated data is copied back to your clipboard in JSON format, and an alert message “New JSON data has been copied to the clipboard!” is displayed.