I read some post about this, but haven't found what I need.
I have a phone book database. If user search phone book, it will come to a search result and list the business name and address, etc. One user click on one business name, it will take to a page showing the detail information. My question is how I can show
the location of this business on detail information page? the key issue is that I need help how to have google map take business address information that passed from search result page to detail information page. so it can display it on google map.
Other Alternative is Using Google Maps Geocoding in which your address is converted into latitude and longitude which would help your create marker in google maps and display the same in your information page:
wangxg26
Member
77 Points
193 Posts
How to display an address in google map?
Jan 24, 2013 12:47 AM|LINK
I read some post about this, but haven't found what I need.
I have a phone book database. If user search phone book, it will come to a search result and list the business name and address, etc. One user click on one business name, it will take to a page showing the detail information. My question is how I can show the location of this business on detail information page? the key issue is that I need help how to have google map take business address information that passed from search result page to detail information page. so it can display it on google map.
geniusvishal
Star
14306 Points
2820 Posts
Re: How to display an address in google map?
Jan 24, 2013 04:09 AM|LINK
You could put google map in iframe and could pass the address as querystring..
It will show the map of the business..
http://stackoverflow.com/questions/1300838/how-to-convert-an-address-into-a-google-maps-link-not-map
Other Alternative is Using Google Maps Geocoding in which your address is converted into latitude and longitude which would help your create marker in google maps and display the same in your information page:
https://developers.google.com/maps/documentation/javascript/reference#Geocoder
https://developers.google.com/maps/documentation/javascript/v2/services#Geocoding
My Website
www.dotnetvishal.com
asp.netforum...
Member
604 Points
132 Posts
Re: How to display an address in google map?
Jan 24, 2013 04:49 AM|LINK
http://aspnetnova.blogspot.com/2009/09/simple-aspnet-google-map-by-address.html
also refer these:
http://www.codeproject.com/KB/scripting/Use_of_Google_Map.aspx
there's also the GMAP control: http://dotnet.sys-con.com/node/171162
and check
http://stackoverflow.com/questions/1994244/show-google-maps-based-on-the-address-in-mvc-jquery