开发者 | jondor |
---|---|
更新时间 | 2017年1月13日 05:42 |
捐献地址: | 去捐款 |
PHP版本: | 3.0.1 及以上 |
WordPress版本: | 4.7 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
plugin-name.php
to the /wp-content/plugins/
directoryAs an first attempt to write a widget and because I couldn't find one that did what thisone does (and nothing more!)
Guess you can use them for generating your own image from bing maps or alike. Putting a big map in the content has it's charm too..
Well, you probably can in your image processing software. Digikam can do it, so can darktable. But starting with the map on the editscreen I'm slowely working towards this feature.
For now, this is a bit of a nerd stuff.. Go to https://console.developers.google.com, log in and create a project, search for the "static maps api" under libraries and enable it. Go to the "Credentials" screen and use the button "Create credentials". Select API key. And save it. Google suggests to restrict the usage of the key by IP or HTTP. If you want to use IP (test-environment of virtual server and the like) don't forget to add ipV4 AND ipV6 if you use both. Also, it takes a few minutes for the system to recognise the changes. Until that time you will get an 403 error with a message about an outdated api. Just be patient..