Question

I looked throught the answers section and although many are similar none of them address this problem directly.

I have and address that is geocoded in the web page thus:

var lat = '';
var lng = '';
var address = '3100 Ray Ferrero Jr Blvd Fort Lauderdale, FL 33314';
geocoder.geocode( { 'address': address}, function(results, status) {
  if (status == google.maps.GeocoderStatus.OK) { then I display the map }

This gives an approximate location but it is wrong.

I also have a link to the full size google map using the same address

https://maps.google.com/maps?f=q&hl=en&q=3100+Ray+Ferrero+Jr+Blvd,+Fort+Lauderdale+FL+33314

This maps the location correctly (using the same address as the web page).

The only thing I can find that is strange is that this street does not seem to exist on either map and is part of a campus. How can the full page map link directly to this address and the web page embedded version cannot?

Was it helpful?

Solution

Google Maps uses many different sources for their data, the geocoder is only one. The Places API is another.

That location is not (currently) in the geocoder. It is in the Places API database.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top