• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

Display simple address on google maps

 
Ranch Hand
Posts: 123
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 154
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Geocoder class might be of help to you, Please check this out
 
Darvesh Niz
Ranch Hand
Posts: 123
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 7488
171
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 123
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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’m tired of walking, and will rest for a minute and grow some wheels. This is the promise of this tiny ad:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic