## Not run: ------------------------------------
# # latitude/longitude coordinates of Beijing railway station
# # WGS-84: (39.90105, 116.42079)
# # GCJ-02: (39.90245, 116.42703)
# wgs2gcj(39.90105, 116.42079) # correct
# # convert multiple coordinates
# wgs2gcj(c(39.99837, 39.98565), c(116.3203, 116.2998))
## ---------------------------------------------
Run the code above in your browser using DataLab