3.0.0 • Published 1 year ago

map-obfuscation v3.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

MapObfuscation

NPM Package

This package obfuscates coordinates to improve user privacy. The code has some detailed comments if you want to learn more about the inner workings of this algorithm.

Example Usage

var mapObfuscation = require("map-obfuscation");//Include MapObfuscation
console.log(mapObfuscation.wgs2sd(12.345, 67.890));//Print obfuscated coordinates in the console

DeltaMultiplier

You can use the deltaMultiplier parameter to control the amount of obfuscation you want.

var mapObfuscation = require("map-obfuscation");//Include MapObfuscation
console.log(mapObfuscation.wgs2sd(12.345, 67.890, 0.5));//Print obfuscated coordinates in the console
3.0.0

1 year ago

2.0.1

1 year ago

2.0.0

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago