CodePudding user response:
The original poster to solve,with o
CodePudding user response:
I think you can use the EditText input to obtain the latitude and longitude parameter passing through the automatic switch to the specified location,CodePudding user response:
AMap. SetPointToCenter (400400);Set this is ok, parameters are screen coordinates
CodePudding user response:
Var markerPosition=[LNG, lat];The map. The panTo (markerPosition);
CodePudding user response:
Map. PanTo (LNG. Lat);CodePudding user response:
First mark is the central point is moved to the map!So whether MapView contains the center of the screen (that is, determine the control position)
Contains will mark the point moves to relative to the center of the screen.
CodePudding user response:
Ios how processing