Home > database >  Get block chain with the positioning of the longitude and latitude to find information such as stree
Get block chain with the positioning of the longitude and latitude to find information such as stree

Time:10-08

/
 with the positioning of the information such as latitude and longitude to find local provinces and cities streets 

Var point=new BMap. Point (e.p oint, LNG, e.p oint. Lat);
Var gc=new BMap. Geocoder ();
Let _this=this;
Gc. GetLocation (point, the function (rs) {
Var addComp=rs. AddressComponents;
The console. The log (rs. AddressComponents);//address information
Console. The log (rs) address)/with the positioning of the longitude and latitude to find information such as location of provinces and cities streets
Var point=new BMap. Point (e.p oint, LNG, e.p oint. Lat);
Var gc=new BMap. Geocoder ();
Let _this=this;
Gc. GetLocation (point, the function (rs) {
Var addComp=rs. AddressComponents;
The console. The log (rs. AddressComponents);//address information
The console. The log (rs) address)
  • Related