You believe it? I suddenly remembered the password to look up to have come in since gotta leave something
This function just started writing when I was Baidu collapse (what rubbish the whole thing seems to be advertising search engine Baidu ...) Google (specifically looking for vpn over the wall) I have been searched demo is not all there js source hey omitted here a million words
It is a farmer boss underlying code need not do some of the function can not be said that I do not come out only after all I am trying to learn something of their own finally learned I accomplish this function greatest inspiration from this author
https://www.cnblogs.com/fuckgiser/p/6424007.html, then you may need more than to see a lot of nonsense should benefit so much for a look at the demo code I ripped out for a while will give git address here only a brief introduction of several important variables
self.x0 = tyWindDetailModel.startlon; // begin longitude
self.x1 = tyWindDetailModel.endlon; // End longitude
self.y0 = tyWindDetailModel.startlat; // start latitude
self.y1 = tyWindDetailModel.endlat; // End latitude
self.nlon = tyWindDetailModel.nlon; // longitude grid accuracy
self.nlat = tyWindDetailModel.nlat; // latitude grid point accuracy
self.gridWidth = tyWindDetailModel.lonsize; // Number of columns of the grid longitude direction (because of the high earth longitude de left to right)
self.gridHeight = tyWindDetailModel.latsize; // number of rows in the grid latitudinal ((German because of the high earth equator latitude)
data is generally divided into two data arrays respectively corresponding lonsize latsize;
Because the code is too large multi-json data I am not here to show the address given git https://github.com/longxingguo/WindFieldDemo.git
There are places to mention here bilinear interpolation algorithm This should be the most critical as to display a meteor tail and moving is the view of the mechanism redraw