A PHP implementation of PokemonGo-Map's GUI.
This implementation is fairly basic. I run my map with a fixed location and search control disabled, so such things have been disabled or not written in the code.
- Existing MySQL database created by PokemonGo-Map
- PHP >= 5.4 (with mod_rewrite enabled)
These are the credentials for your MySQL database. I didn't add any support for other database types, since MySQL is my preference.
This marks the title that is shown in the title bar when visiting your map.
This is mostly for aesthetics and for reference should you want to implement language changes. With the code how it is, it only affects the lang specifier in the HTML. If you'd like it to change languages based on this option, you'll need to implement the code necessary to do it. To do so, refer to the i8ln(word) function in 'utils.py' from PokemonGo-Map and the get_pokemon_data($pokemon_id) function in 'utils.php' from this implementation
This is your Google Maps API key.
If you don't want the map to purge old pokemon data, then leave this option at 0. Otherwise, input a higher number to delete pokemon spawns older than X hour(s). X is the number you'd place here.
Take care to leave all existing quotations intact. Once you've edited 'config.inc.php' to your liking, simply upload all the files to your web server, and it's good to go. That's it! It doesn't get any simpler. Keep in mind that I wrote this to fulfill my needs, and it may be missing some things that the official GUI has. It also doesn't include any functionality to control workers in any way, since I prefer spawnpoint scanning in certain areas. I do not plan on extending the functionality of this implementation any further than it currently is. If you'd like to, feel free. :)
Credits: PokemonGo-Map