Suoritettu

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]' %}">

<style>

#map {

height:700px;

}

</style>

{% 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>

<script>

$(document).ready(function(){

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'

}).addTo(map);

[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

}).addTo(map);

});

</script>

{% endblock js %}

Taidot: JavaScript, jQuery / Prototype

Tietoa asiakkaasta:
( 120 arvostelua ) Singapore, Singapore

Projektin tunnus: #7996763

Myönnetty käyttäjälle:

audelk

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)
5.5

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

mondersky

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

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

Aucune proposition n'a encore été fournie.

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

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)
0.0