Leaflet.ChineseTmsProviders icon indicating copy to clipboard operation
Leaflet.ChineseTmsProviders copied to clipboard

Can I directly add points with WGS84 coordinates ?

Open seifer08ms opened this issue 9 years ago • 10 comments

Can I directly add points with WGS84 coordinates on the gaode basemap using this plugin ?

seifer08ms avatar May 25 '15 01:05 seifer08ms

of course, you can.

htoooth avatar Jun 09 '15 04:06 htoooth

Do I need to convert WGS84 to GCJ-02?

seifer08ms avatar Jun 09 '15 12:06 seifer08ms

@seifer08ms I think that is necessary.. but it will be great if the leaflet plugin could do this conversion automatically..

hanfeisun avatar Jun 16 '15 09:06 hanfeisun

楼上估计都是中国人,净搁这儿扯english,不嫌麻烦? 84转火星坐标系不都是拟合的么?这种就别指望自动了

a1c2n3g4w5 avatar Nov 20 '15 07:11 a1c2n3g4w5

@a1c2n3g4w5 也不是自动的,我的意思是Leaflet.ChineseTmsProviders最好能提供一个函数,或者参数,能把WGS84转成GCJ-02的(即使是拟合的也好,否则还要自己手写一套)

hanfeisun avatar Nov 20 '15 08:11 hanfeisun

@hanfeisun 你想怎么用呢?大家可以参考这个 https://github.com/wandergis/coordtransform

htoooth avatar Nov 20 '15 13:11 htoooth

@hanfeisun 如果有必要,我可以将这个功能整合进来

htoooth avatar Nov 20 '15 13:11 htoooth

天地图是wgs84 高德是火星,如果直接用,可以用天地图,就是丑了点

wuqi avatar Sep 28 '16 02:09 wuqi

整进去了么。我很好奇

JamesxuWang avatar Jul 11 '17 08:07 JamesxuWang

Some guy wrote another plugin to resolve this bug: https://github.com/gisarmory/Leaflet.InternetMapCorrection

TechQuery avatar Aug 08 '23 21:08 TechQuery