Code Monkey home page Code Monkey logo

leaflet-gps's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

leaflet-gps's Issues

[accessibility] Make the gps-alert available to screen readers

Making the .gps-alert a live region is important as it conveys to screen readers that the content should be announced when added to the DOM, or otherwise has been updated. This is done by adding the status role (a live region role) to the <div>, and accompanying ARIA attributes:

<div class="gps-alert" style="display: block;"
+ role="status"
+ aria-live="polite"
+ aria-atomic="true">
  Geolocation error: User denied Geolocation.
</div>

While role="status" already implies aria-live="polite", it's best to be explicit with the value per MDN advice:

To maximize compatibility, add a redundant aria-live="polite" when using this role.

making the js files linkable

Hi,

I would like to use the js and css but instead on cloning the whole repo, I would like to just link in in my script section. How do I do that?

Thank you

Update npm package

The version that I got via npm was outdated, also please include a "main" entry in the package.json for browserify compatibility. (see pull request #14 )

Breadcrumbs via ployline or marker on map

Not really an issue and more of a question. Have you experimented with the ability to leave a GPS trace on the map. Maybe via plotted marker at interval or poly-line generated from intervals?

warning: watchPosition() are deprecated

getCurrentPosition() and watchPosition() are deprecated on insecure origins, and support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.

Someone know a definitive solution for this!??!

Get marker coordinates

Hi,
Is it possible to display the user coordinates inside a div or pass them to a variable?

Thanks and good work.

Autoupdate marker position

Be cool have option for autoupdating marker position by time (min, sec).
Example:
options: {
autoActive: false, //activate control at startup
autoCenter: false, //move map when gps location change
maxZoom: null, //max zoom for autoCenter
autoUpdate: 60 // autoupdate my position via GPS in sec
Now marker position updating if move map or if change map zoom.
But marker not move automaticaly if I go or if I ride.

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.