Javascript-how to retain the unique coordinates in the range

Source: Internet
Author: User
1. the current requirement is to draw a map trajectory, but there are a lot of coordinate points to draw the trajectory very messy. do you want to keep the coordinates within the range of a method? Does PHP provide data to be filtered at the output of the interface or rendered after processing when android accepts it? Or according to this ride... 1. the current requirement is to draw a map track, but the coordinates drawn by many coordinate points are messy.
Good implementation? Does PHP provide data to be filtered at the output of the interface or rendered after processing when android accepts it?
Or is it located based on the logo building near the coordinates ?? How to implement it?

Reply content:

1. the current requirement is to draw a map trajectory, but there are a lot of coordinate points to draw the trajectory, which is messy. please keep the coordinates within the range of a method.
Good implementation? Does PHP provide data to be filtered at the output of the interface or rendered after processing when android accepts it?
Or is it located based on the logo building near the coordinates ?? How to implement it?

1. select a vertex.
2. delete vertices within a certain range around
3. select a point B that is closest to a within a certain range.
4. a = B, jump to 2

I think this should be returned to the client after interface filtering. this is a data problem and should be processed on the server.

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.