Coder Social home page Coder Social logo

openmap_me's Introduction

OpenMap.me

OpenMap.me uses GPS enabled browsers to allow people to see where they are. By simply going to OpenMap.me and sharing a unique url OpenMap.me will broadcast the location of any browser viewing the url. Simply show up copy the url and text or email to a friend see each others location in real time.

Environment Requirements

OpenMap.me is a Node.js application written with the expressjs framework backed by mongoDB for object persistence.

Running

The default configuration assumes mongoDB is accessible on the local host. To run OpenMaps on localhost:3000 cd to the project root and pass app.js to node.

node app.js

(note: I really like using nodemon for development instead of node)

Environment Variables

Environment variables can be set to override the web apps defaults

Variable Description Default
PORT Port the web application will run on 3000
MAP_PROVIDER_HOST Host of database that provides maps 127.0.0.1
MAP_PROVIDER_PORT PORT number of database that provides maps 27017
SEQUENCE_PROVIDER_HOST Host of database that provides sequences 127.0.0.1
SEQUENCE_PROVIDER_PORT PORT number of database that provides sequences 27017

License

The MIT License (MIT): http://rcpeters.mit-license.org/

openmap_me's People

Contributors

rcpeters avatar

Watchers

 avatar  avatar

openmap_me's Issues

Start displaying users connection status

Lets add a connection status to the user object. When socket.io connects it is set to true, when socket.io disconnects, it's set to false. There is already "socket.get('userId',....) and socket.set('userId',....) that can be used.

Then we should have the V.NameLi change the associated google.maps.Circle color to reflect the connection status.

Move map zoom controls

Lets hide the default zoom controls and move them into a JQM nav bar that goes below the current header.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.