OpenLayers 6.x-2.0-beta1
OpenLayers CCK 6.x-2.0-beta1
OpenLayers Geocoder 6.x-2.0-alpha5

Checked in firebug:

sent:
content_type video
fieldname field_mapa
query barcelona
Font
query=barcelona&fieldname=field_mapa&content_type=video

response:
{ "latitude": 0, "longitude": 0, "box": [ ], "fields": [ ], "keep_points": false }

JSON
latitude 0
longitude 0
box []
fields []
keep_points false

If I put in firefox address bar: maps.google.com/maps/api/geocode/json?address=barcelona&sensor=false
return data ok

For 1 day works fine but now don't retrieve results.

Comments

sailoog’s picture

Component: Code » Miscellaneous
Category: bug » support
Priority: Major » Normal

Ops! Now 1 hour later works. Doing nothing
Maybe is a google api problem?

sailoog’s picture

I think i know what happend. Mi map is not a google map, is a openstreetmap and i found this in the Google Geocoding API: http://code.google.com/intl/ca/apis/maps/documentation/geocoding/index.html

Use of the Google Geocoding API is subject to a query limit of 2,500 geolocation requests per day. (User of Google Maps API Premier may perform up to 100,000 requests per day.) This limit is enforced to prevent abuse and/or repurposing of the Geocoding API, and this limit may be changed in the future without notice. Additionally, we enforce a request rate limit to prevent abuse of the service. If you exceed the 24-hour limit or otherwise abuse the service, the Geocoding API may stop working for you temporarily. If you continue to exceed this limit, your access to the Geocoding API may be blocked.

Note: the Geocoding API may only be used in conjunction with a Google map; geocoding results without displaying them on a map is prohibited. For complete details on allowed usage, consult the Maps API Terms of Service License Restrictions.

is possible that this is the problem?

steinmb’s picture

Status: Active » Closed (cannot reproduce)