229 av. Grassion Cibrand
34130 Carnon
France
+33 6 50 79 41 35
[email protected]
https://github.com/FranckErnewein
229 av. Grassion Cibrand
34130 Carnon
France
+33 6 50 79 41 35
[email protected]
https://github.com/FranckErnewein
Lightstream is a solution which allows you to map any kind of geocalized data in real time. Lightstream API is the backend entry you want to use to push your items, so you can visualize them on the front end. This documentation will help you understand how easy it is to use .
var L = window.L; | |
var addressPoints = window.addressPoints; | |
var tiles = L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', { | |
maxZoom: 18, | |
attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors, Points © 2012 LINZ' | |
}), | |
latlng = L.latLng(-37.82, 175.24); | |
var map = L.map('map', { | |
center: latlng, |
<?php | |
$server = 'test.lightstream.io'; | |
$type = 'ads'; | |
$key = 'b72d053a3722415fab181af70e89a8f2'; | |
$query_string = '?api_key='.$key; | |
$url = 'http://'.$server.'/api/items/'.$type; | |
$generated_id = 'test_' . time(); |
Lightstream is a solution which allows you to map any kind of geocalized data in real time. Lightstream API is the backend entry you want to use to push your items, so you can visualize them on the front end. This documentation will help you understand how easy it is to use .
var backbone = require('Backbone'); | |
var $ = require('jquery'); | |
// Views Classes | |
var ListNewsView = require('///'); | |
var NewsView = require('///'); | |
var Home = require('///'); | |
// define router | |
var MyRouter = Backbone.Router.extend({ |
var Backbone = require('backbone'); | |
var najax = require('najax'); | |
//set ajax fonction in node | |
Backbone.ajax = najax; | |
//create a collection | |
var Users = Backbone.Collection.extend({ | |
url: 'https://raw.github.com/FranckErnewein/perso/master/www/data/work.json', | |
}); |
A Pen by Franck Ernewein on CodePen.
define([ | |
'underscore', | |
'backbone' | |
], function( _, Backbone ){ | |
function Deferred(){ | |
this.resolved = false; | |
this.rejected = false; | |
} |