On Jan 29, 2:11 pm, ajit <[email protected]> wrote: > can any 1 help me drawing exact path between source to destination on > static maps. > I m using j2me platform and trying to show these paths on png image. > this is the url that m using but itz giving me a straight line between > source to destination not the actual path.........
That's what it does. See the documentation: http://code.google.com/apis/maps/documentation/staticmaps/#Paths Directions aren't supported. See Issue 209 http://code.google.com/p/gmaps-api-issues/issues/detail?id=209 and add your star. To show an arbitrary line, you need to specify all the points along it, perhaps as an encoded line. You can't get the directions server-side in order to construct the path, either: see Issue 235 http://code.google.com/p/gmaps-api-issues/issues/detail?id=235 and add your star to that. Static Maps can only be used in a browser. Is your J2ME app a web browser which allows the user to enter an arbitrary URL for it to render? 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.
