Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrroot5/codeigniter-geolocation
This is an example geolocation with codeigniter framework
https://github.com/mrroot5/codeigniter-geolocation
codeigniter codeigniter-geolocation codeigniter-twig codeigniter3 codeignitertwig geolocation mrroot5 php php7 twig
Last synced: about 14 hours ago
JSON representation
This is an example geolocation with codeigniter framework
- Host: GitHub
- URL: https://github.com/mrroot5/codeigniter-geolocation
- Owner: mrroot5
- License: mit
- Created: 2019-02-02T11:18:21.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-05T14:12:18.000Z (almost 6 years ago)
- Last Synced: 2024-11-11T12:39:02.116Z (about 2 months ago)
- Topics: codeigniter, codeigniter-geolocation, codeigniter-twig, codeigniter3, codeignitertwig, geolocation, mrroot5, php, php7, twig
- Language: HTML
- Homepage: http://codeigniter.jorobabyte.com.es/
- Size: 3.08 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: contributing.md
- License: LICENSE
Awesome Lists containing this project
README
# CODEIGNITER GEOLOCATION
[Project URL](http://www.jorobabyte.com.es/codeigniter-geolocation/).
## Introduction
This is a codeigniter project to test Codeigniter 3 with Twig template engine, Bootstrap 4, Leaflet and OpenStreetMap.## How to use
- Install apache, PHP7, MySql and php composer on your computer (tested on Ubuntu 18.04 and Debian 9).
- Clone repo.
- Composer install.
- Create a database with the name, user and password in application/config/database.php file.
- Create a table named geolocation with an autoincremental int field named "id", a varchar named "latitude" and another varchar named longitude.
- Insert a few latitude and longitued rows.## Features
- Show markers in the map.
- If you click in a marker, you can see the latitude and longitud in a popup.
- If you click in any city a bootstrap 4 card was generated dynamically.