
A source code for displaying big data for website visitors developed based on Tencent Maps API. You will know what it is by looking at the renderings.
This program only supports PHP, PHP>=7.0, and the website program has public function files that can be called globally and uniformly.
1. Extract the file and drag the map folder to the desktop
2. Modify the server information and KEY information in the/map/map.php header file
3. Upload a map folder to the root directory of your website
4. Add the following code to the top of the code in the core file of the website:
Required (directory name (__FILE__)./ map/map.php);
5. The core files of the website, files that will be referenced every time you visit
6. Then, open your website/map and refresh it a few times
Note: The core function file of the website is generally config.php or funtion.php
If the map cannot be displayed, please open the console F12 of Google Kernel Browser to check the error message.
Error message: XX data error
Solution: Modify in the configuration file of php.ini in the current environment:
Search for serialize_precision and change the value to-1.
Save and restart PHP and you are done!
Comments0