File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Display simple address on google maps

 
Darvesh Niz
Ranch Hand
Posts: 121
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello
i need to display an address on google maps, i dont have latitude or long data i just have plain address as text
my question.
i was trying to use iframe based on some old methodology, just it works erratic sometimes IE says " contents cannot be displayed in a frame"
is there still a work around for this , i need a very simple solution.

i am aware about deriving lat and long vlaues for a given address using some webservice, but right now i am looking for the most fastest and feasible solution.

is there any api in gogle maps which takes address and displays it on map

Any help will be appreciated.
thanks
 
zoheb hassan
Ranch Hand
Posts: 154
Android Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Geocoder class might be of help to you, Please check this out
 
Darvesh Niz
Ranch Hand
Posts: 121
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so basically i have to feed the address get the lat and long and then show the map.

is there any other easier way of doing this.

Thanks
rashid
 
Tim Moores
Bartender
Posts: 2500
12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that's pretty simple already; in what way do you hope to do even less?
 
Darvesh Niz
Ranch Hand
Posts: 121
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think the most easy but not a good wasy is to stick in your address in iframe. but it doesn't work sometimes.

I managed to use the geocoder and getting the lat and long. The only issue is that when a marker on address is displayed. clicking on it will not show popup like get directions, search nearby etc....



Any idea why?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic