Summing up can make their knowledge system, experience depth more good and stable, although writing a blog post quite takes time.
1. Baidu Map of the API, fuzzy Search, can only get place names, need to obtain latitude and longitude,
function Myfun () {
var pp = Local.getresults (). Getpoi (0). Point; Get the results of the first smart search
Map.centerandzoom (PP, 18);
Map.addoverlay (New Bmap.marker (PP)); Add a callout
}
var local = new Bmap.localsearch (map, {//Smart Search
Onsearchcomplete:myfun
});
Local.search (myvalue);
2. Latitude and longitude have a variety of versions, you need to note that with Baidu map, you will convert the type to Bc02,ios through the MUI Plus map is the ws98 type.
3. The saddest thing to hear today is, "you have to make the general function first, or the leader thinks you didn't do anything."
I think that people live not to put themselves into a work machine, keep doing business, do not say in order to change the world, at least should write some good code, to allow themselves to be able to use, and the code that is pushed out, will only be difficult maintenance and refactoring.
The second summary of app development