Google Maps Location Not Found

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
5/11/2009 5:13:26 AM
Gravatar
Total Posts 29

Google Maps Location Not Found

How is it that i can find a location when I go to maps.google.com but when I enter the same query string in mojoPortal, the location cannot be found?

5/11/2009 6:46:57 AM
Gravatar
Total Posts 18439

Re: Google Maps Location Not Found

Hi,

The reason is because the google maps web page works differently than the google maps API. For the API to work it must find an exact match, but the google maps page is different, it is like a search engine, if it can't find the exact location it brings back a list of approximate matches. These matches may contain the correct location but they will have the address listed correctly/differently than you entered it in mojoPortal, you can copy the address format from the google maps search result and use that as the location and then it should work.

Its  a good question and it comes up from time to time, so I have added it to the FAQ page. 

Best,

Joe

5/14/2009 4:37:28 AM
Gravatar
Total Posts 29

Re: Google Maps Location Not Found

Still not working for me, perhaps, a method to use the KML, or enter latittude and longitude coordinates would help. I dunno...

5/14/2009 4:41:13 AM
Gravatar
Total Posts 18439

Re: Google Maps Location Not Found

You have not posted steps to produce the problem. 

5/14/2009 8:42:51 AM
Gravatar
Total Posts 29

Re: Google Maps Location Not Found

I'm trying to get this location: http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=strawberryfields,+st.+mary,+jamaica&sll=18.479609,-76.961975&sspn=0.907816,1.230469&ie=UTF8&latlng=18310203,-76805420,6835933024554912980&ei=nB4MSrW1MYj6NYbIsJMO&cd=6

Into Google Maps from mojoPortal. However I now realise that since the API can't find my location I'll be better off using the embed option, save me some hassle.

You must sign in to post in the forums. This thread is closed to new posts.