Leaflet points and current location update

I have a map with certain points on it and markers using leaflet.

Need a way for the app to auto update current position every second.

{% extends "[url removed, login to view]" %}

{% load staticfiles %}

{% block css %}

<link href='[url removed, login to view]' rel='stylesheet' />

<link rel="stylesheet" href="[url removed, login to view]" />

<link rel="stylesheet" href="{% static 'css/leaflet/[url removed, login to view]' %}">


#map {




{% endblock css %}

{% block content %}

<div id='map'></div>

{% endblock content %}

{% block js %}

<script src="[url removed, login to view]"></script>

<script src="{% static 'js/[url removed, login to view]' %}"></script>



var map = [url removed, login to view]('map');

[url removed, login to view]('http://{s}.[url removed, login to view]{z}/{x}/{y}.png', {

attribution: '© OpenStreetMap contributors'


[url removed, login to view]({

waypoints: [

[url removed, login to view](1.3805280000, 103.7612958000),

[url removed, login to view](1.31235280000, 103.712312958000),

[url removed, login to view](1.31205280000, 103.43112958000),

[url removed, login to view](1.31205280000, 103.7112958000),

[url removed, login to view](1.3805280000, 103.7612958000),


routeWhileDragging: true




{% endblock js %}

Taidot: JavaScript, jQuery / Prototype

Tietoa asiakkaasta:
( 120 arvostelua ) Singapore, Singapore

Projektin tunnus: #7996763

Myönnetty käyttäjälle:


hi sir, i can get this done quick. im expert in leaftlet/mapbox, google map api,jquery. thank you odel

$85 SGD 1 päivässä
(16 Arvostelua)

3 freelanceria on tarjonnut keskimäärin $95 tähän työhön


can you please provide a link where I can see your map live ?

$100 SGD 1 päivässä
(49 arvostelua)

Aucune proposition n'a encore été fournie.

$100 SGD 1 päivässä
(19 arvostelua)

We're experts with 5 years experience on CMS (Joomla, Wordpress, CakePHP,Magento), HTML/CSS/JS. I built a whole site, build or custom extensions (component, module, plugin, template) with MVC structure, tableless, Ruby Lisää

$77 SGD 2 päivässä
(0 arvostelua)