Get your own customer support community
 

Draw a line into a map obtained via ModestMap

I'm playing around with your fine ModestMap (latest revision from the SVN). I'm able to get maps from Google for a given center coordinate.

Because I have route information also by hand (in forms of geo codes), I would like to draw a line into the map (as Google does it).

But I'm unable to figure out, how to come from a given geocode to an image coordinate in order to draw the line form the start of the route to the next waypoint. Only the first point seems to be fixed after all the math: The centered point, which is at (width/2, height/2).

Is there any means to calculate the image coordinates of other geo coordinates around?

Any pointer welcome
Inappropriate?
2 people have this question

User_default_medium