GithubHelp home page GithubHelp logo

dmccubbing / osmand-tracker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from toebee/osmand-tracker

0.0 2.0 0.0 6 KB

Use the live tracking feature in OsmAnd to show your current location on a map

HTML 2.93% PHP 97.07%

osmand-tracker's Introduction

OsmAnd-Tracker

OsmAnd-Tracker is a small bit of PHP to accept location pings from OsmAnd and display a static map with that location.

The map is suitable for placement inside of an iframe element on a personal website or such. The functionality is similar to the Google Latitude "location badge" feature but allows you to control your own information and uses the MapQuest Open static map API to generate a simple image with a location pin on it.

Deployment instructions

Copy the files and edit settings.php. Namely $apikey needs to be set to get an interactive map. Alternatively, you could use an interactive map from osm.org (see the commented code in map.php).

After configuring the settings to your liking, you must point OsmAnd to where tracker.php is located. The full URL is:

http://example.org/tracker.php?lat={0}&lon={1}&timestamp={2}&hdop={3}&altitude={4}&speed={5}&key=SECRETKEY

Don't forget to replace example.org with your site AND set SECRETKEY to your secret key!

osmand-tracker's People

Contributors

dmccubbing avatar toebee avatar

Watchers

 avatar  avatar

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.