Posted By

Wiederkehr on 07/31/09


Tagged

location longitude latitude geocode ranom


Versions (?)

GeoCode variation


 / Published in: ActionScript 3
 

Add these numbers to have a small variation of longitude and latitude values.

  1. latVariation = Math.random()*(0.006+0.006)-0.006;
  2. longVariation = Math.random()*(0.006+0.006)-0.006;

Report this snippet  

You need to login to post a comment.