PHP uses Tencent Map to obtain the coordinates of the specified address: Create key (image, text + video)

藏色散人
Release: 2018-10-20 15:12:28
Original
5523 people have browsed it

This article mainly introduces to you the steps to PHP use Tencent Map to obtain the coordinates of the specified address and create a key.

During the project development process, we may sometimes encounter the need to use Tencent or Baidu map interfaces to obtain relevant data. So for PHP beginners, the relevant knowledge may not be clear. In fact, it is very simple. This chapter will first give you a detailed introduction to obtaining the specified address coordinatesthat is, longitude and latitude before obtaining developer permissions on the Tencent Map Development Platform and creating a key Important step, the key here is the developer key.

Step 1:

Open Tencent Maps to open the platform and log in.

PHP uses Tencent Map to obtain the coordinates of the specified address: Create key (image, text + video)

Step 2:

Directly click on the login avatar part in the picture above, and the developer information will be displayed. Then set the mobile phone number and email binding in the account and permissions. (If you need to apply for an enterprise developer, just select the enterprise developer module)

PHP uses Tencent Map to obtain the coordinates of the specified address: Create key (image, text + video)


Step 3:

Perform key management and create new keys.

PHP uses Tencent Map to obtain the coordinates of the specified address: Create key (image, text + video)

#Fill in the key name and description and enter the verification code.

PHP uses Tencent Map to obtain the coordinates of the specified address: Create key (image, text + video)

Step 4:

Perform relevant settings for the new key you just created.

PHP uses Tencent Map to obtain the coordinates of the specified address: Create key (image, text + video)

In the key settings, you need to fill in the name and description. Enable product selection mainly depends on where you want to use the key. For example, you only need to use it in a mini program, just click to check the WeChat mini program.

PHP uses Tencent Map to obtain the coordinates of the specified address: Create key (image, text + video)

#Finally, we click save directly, and a complete key is created. Then we mainly use this key in PHP to obtain Tencent map related data.

In the next article, we will continue to introduce to you the specific method of using PHP to obtain the coordinates of a specified address using Tencent Maps.

This article is about PHP using Tencent Map to obtain the specified address coordinates and applying to create a key. I hope it will be helpful to friends in need!

If you want to know more about PHP, you can follow the PHP Chinese website PHP Video Tutorial, everyone is welcome to refer to and learn!

The above is the detailed content of PHP uses Tencent Map to obtain the coordinates of the specified address: Create key (image, text + video). For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!