Obfuscating Geocode results to protect privacy?

Posted by Kevin on Stack Overflow See other posts from Stack Overflow or by Kevin
Published on 2010-04-03T07:23:14Z Indexed on 2010/04/03 7:33 UTC
Read the original article Hit count: 372

Filed under:

I have an app that finds other users within a 20 mile radius on a google map and associates an icon with each of them. However, I do not want their exact points to be given but rather an approximation. I've wrestled with a few ideas on how to do this:

  1. Only Geocode the Zip Code, make graphic icons for 1-99, use the icon to represent how many results are within the zip code, and use the info window to show hyperlinks to the individual results. The only problem is, I'd like each individual icon to be shown because it just looks a lot better.

  2. Add/Subtract a random number to the lat/lng values stored with each user and add a translucent circle around the icon.

What do you guys suggest?

© Stack Overflow or respective owner

Related posts about google-maps