This Gist was automatically created by Carbide, a free online programming environment.
Last active
August 27, 2016 12:00
-
-
Save chrtze/33bb59ae358f0b812fdcc460b17f338f to your computer and use it in GitHub Desktop.
Hello World Carbide
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// display a map with markers | |
// you can move the markers directly on the map to manipulate the data | |
let data = [{"latitude":55.13,"longitude":14.52}]; | |
let test = 0.5156; | |
let mappedOutput = data.map(d => { | |
d.latitude *= test; | |
d.longitude *= test; | |
return d; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment