Search the web
Sign In
New User? Sign Up
yws-maps · Yahoo! Maps Developer Community
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Can i pinpoint more than 1 nearby streets in the same map image?   Message List  
Reply | Forward Message #7195 of 7224 |
Re: Can i pinpoint more than 1 nearby streets in the same map image?

Hi Mustafa,

The Map Image API (http://developer.yahoo.com/maps/rest/V1/) only supports a
single location. The AJAX API (http://developer.yahoo.com/maps/ajax/) does
support multiple markers, but would require using JavaScript or embedding a
browser like context inside your Java app.

Using Java, you could use the Map Image API combined with the Geocoding API
(http://developer.yahoo.com/maps/rest/V1/geocode.html). You would have to use
the Map Image API to retrieve an image for the first point, then overlay an
additional marker on the image using the result from the Geocoding API.

-James

--- In yws-maps@yahoogroups.com, "mustafa.shiraz" <mustafa.shiraz@...> wrote:
>
> hi
>
> i m developing an application in java which displays a map according to given
specification like longitude, latitude, street name etc. Can u please tell me if
it is possible to give 2 location specification in the request so that when i
get the map image it highlights two locations?
>
> For example is street abc and street xyz is very close to each other and we
can see both of them in the same map view. So is it possible to point or
highlight both of them?
>
> Thanks
> Mustafa
>





Fri Jul 10, 2009 4:39 pm

jflemer
Online Now Online Now
Send Email Send Email

Forward
Message #7195 of 7224 |
Expand Messages Author Sort by Date

hi i m developing an application in java which displays a map according to given specification like longitude, latitude, street name etc. Can u please tell me...
mustafa.shiraz
Offline Send Email
Jul 10, 2009
4:39 am

Hi Mustafa, The Map Image API (http://developer.yahoo.com/maps/rest/V1/) only supports a single location. The AJAX API (http://developer.yahoo.com/maps/ajax/)...
jflemer
Online Now Send Email
Jul 10, 2009
4:40 pm

... Hi James, but how could I find out the pixel position of the second point from which I only do have the coordinates? This would probably also answer these...
toobbs
Offline Send Email
Jul 21, 2009
3:45 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help