Skip to content
forked from map1t0/mapito

Mapito.org: Open Geographic Platform for Locative Media Apps

License

Notifications You must be signed in to change notification settings

ippokratis1/mapito

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mapito.org: Open Geographic Platform for Locative Media Apps

Mapito is a web application that facilitates the creation of a map with custom controls and embedding it in a website. Mapito using multiple map services such as Google Maps and Bing Maps. The main feature here is the one-click switching between of these map services without affecting the previous settings. The system records the users activity on a map and stores it for later processing and analysis.

Route tracking is an additional feature of this system which allows to track routes through a web browser of a smartphone or tablet with GPS and HTML5 Geolocation support. GPS Track Smoothing is an another useful feature provided by Mapito and designed to remove outliers in trace data.

This web application provides two APIs. A JavaScript API that's designed for developers who use embedded Mapito Maps and provides methods to edit the maps. A HTTP API which is designed for web and mobile developers and provides all options of Mapito via HTTP requests and more options, such as for storing and retrieving gps routes.

Mapito is an open data and open source GIS system with an API that facilitates the development of Web services and Mobile Apps. Mapito is creating an abstraction layer above the generic services offered by the major web-based GIS systems, in order to facilitate the migration of the user applications to new services.

Technologies and tools

This web application integrates the following technologies and tools:

  • HTML5
  • CSS3
  • JavaScript
  • JQuery
  • Bootstrap
  • Node.js
  • MongoDB
  • Google Maps API
  • Bing Maps API

Example

Mapito is currently running at http://www.mapito.org.

Building the code

  1. Install Node.js

  2. Install npm

  3. Install MongoDB

  4. Download or clone the code:

git clone https://github.com/map1t0/mapito.git
  1. Use npm to install all dependencies for this app:
cd ./mapito
npm install
  1. Open the file ./mapito/public/javascript/embed.js and type in the first line your domain. If you're running the app in localhost type http://127.0.0.1:3000. (See the comments in the file).

  2. Open the file ./mapito/config/auth.js and type in mailer your gmail and password. (See the comments in the file).

  3. Create a new project on Google console. Go to APIs & auth -> Credentials and click on Create new Client ID. In the Authorized JavaScript originstype your domain and in Authorized redirect URIs enter http://YOUR_DOMAIN/auth/google/callback. Next copy the Client ID and Client secret and paste in the ./mapito/config/auth.js file. (See the comments in the file).

  4. Create a new apllication on Facebook. Next copy the App ID and App Secret and paste in the the ./mapito/config/auth.js file. (See the comments in the file).

  5. Run the app:

nodejs app.js
  1. Open the app in your browser using the address http://127.0.0.1:3000.

npm packages used

About

Mapito.org: Open Geographic Platform for Locative Media Apps

http://www.mapito.org

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.6%
  • CSS 1.3%
  • HTML 0.1%