The second summary of app development

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.