There is an option 'HC-transform' in highmap metadata, can anyone explain how to use it?
I used the default China map Geodata in the highmap but now I want to add a new point, for example [latitude, loan] [121,23], I want to know that I How to change in any coordination
"CRS": {"type": "name", "property": {"name": "vase: OGC: def: CRS: EPSG: 3415"}}, "hc "": {"Cn-all": {"xpan": 350, "ypan": 25, "hitZone": {"type": "polygon", "coordinate": [[[7902,3046], [ 7929,3041], [794, 3014], [79152929]]]}, "CRS": "+ proj = tmerc + lat_0 = 49 + lon_0 = -2 + K = 0.999 6012717 + x_0 = 400000 + y_0 = -100,000 + ellps = airy + toWGS84 = 446.448, -125.157,542.06,0.15,0.247,0.842, -20.489 + units = m + vunits = me + no_defs "," scale ": 0.0,00,12, 9 83 1107685, "jsonres": 15.5, "jsonmarginX": -999, "jsonmarginY": 9851.0, "xoffset": -31,3 9, 9 37.4930, "yoffset": 43,58, 9 72.7,486}} < / Code>
Here's what I do.
var transform = Highcharts.maps ['countries / cn / cn-all'] ['HC-transform'] ['default']; Var position = $ ("chart"). High Chart (). TransformalLetton ({lat: 121, lon: 23}, transform); Console.log (status); // {x: NaN, y: NaN}
Am I wrong in the 'HC-Transform' setting? How do I make a case
No comments:
Post a Comment