BrickLai / GPS-tracker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GPS-tracker

Technologies

  • HTML5
  • CSS3
  • Git
  • key Code

    const geolocate = new mapboxgl.GeolocateControl({
        positionOptions: {
        enableHighAccuracy: true
        },
        trackUserLocation: true
        });
        // Add the control to the map.
        map.addControl(geolocate);
        // Set an event listener that fires
        // when a geolocate event occurs.
        geolocate.on('geolocate', () => {
        console.log('A geolocate event has occurred.');
        });
    

    Launch

    Click here to visit.

    About


    Languages

    Language:CSS 40.8%Language:HTML 30.1%Language:JavaScript 29.1%