Prevent two google maps polylines overlapping -


I am creating a Google Maps application that displays GPX tracks. Some tracks overlap for the distance. They do not have similar numbers, but when they are pulled, polyline looks the same. This makes them frustrated in front of each other. The solutions will have to attract overlapping tracks next to each other, like how can I do this in the simplest possible manner?

Automatically draw side-by-side polyline very hard. Mathematics is difficult even if you were doing it for a certain zoom level. Lines must be reproduced and reproduced again for each zoom level because the latitude / LAG offsets need to be offset by doubling the same pixel width for each zoom level.

If you have only found some tracks, try to display different width colors, which first show the wider people. In this way you can see the side of a wide track when a narrow track is pulled upwards later.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -