On Dec 28, 9:41 pm, qmpeople <[email protected]> wrote: > As you can see this applications should draw a polyline between two > friends living in any part of the world. > Well, that application worked well up to some months ago but... now, > sometimes it appears well, sometimes both polylines and user cards > (boxes colored in orange) are not displayed properly (for example > laserion should be in Italy and dorotea in France but they are > displayed in a different place). Why? Could you help me to solve that > issue?
I get those two displayed in what looks like the right place. laserion is in exactly the same place as "spider". Your ASP code appears to build the whole page looping through each friend, so if they are in the wrong place, the data which is being sent from your server-side code is wrong. laserion is at point_2 = new GLatLng(41.895466,12.482324); and dorotea is at point_1 = new GLatLng(45.289696,5.550697); Without an example of the points being wrong, it's difficult to give much advice. I can say that polylines don't take a named colour like "red", though. See the documentation: "The color is given as a string that contains the color in hexadecimal numeric HTML style, i.e. #RRGGBB." If you want red lines instead of the default blue, you need to use "#FF0000" not "red". Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
