Hello

I am trying to achieve two related things:
1) Addresses that i type into the "search address" field of the Openlayers Geocoder field place a marker on the Openlayers map.
2) That the same data auto populates the "Location fields".

Regarding #1, i get a text response in the search field from the address i put in ,but nothing at all on the map.
Regarding #2, when in the "configuration" options of the Openlayers Geocoding field, under the "Autocomplete" group, i cannot "enable" the autocomplete; the text is there but not clickabble.

I have the following related modules installed:

Drupal 6.19
Openlayers
Location_cck-6.x-3.1
Location-6.x-3.1
OpenLayers 6.x-1.0-rc3
OpenLayers Behaviors 6.x-1.0-rc3
OpenLayers CCK 6.x-1.0-rc3
OpenLayers Filters 6.x-1.0-rc3
OpenLayers Geocoder 6.x-2.0-alpha4
OpenLayers Layers 6.x-1.0-rc3
OpenLayers Preset UI 6.x-1.0-rc3
OpenLayers Views 6.x-1.0-rc3
Token 6.x-1.12
Token actions 6.x-1.12

Ideas?

L

Comments

Adam S’s picture

Did you at admin/content/node-type/your-content-type-name-here/fields/field_location enter the tokens for the autocomplete field group with the other text fields in the content type using tokens? Did you enter your Google Map API into the settings of openlayers?

linuxpimp’s picture

Thanks Adam

I'll try that. I have an API key for the Google Map API.

Problem is it doesn't even get to the stage where it would try populate the Location fields.

(Can i attach a screenshot here?) ; it performs the "match" for the address I'm typing but doesn't seem to do anything with it thereafter.

Any ideas?

Thanks

L

Adam S’s picture

So you have one WKT widget and then text fields for city and state. Then go back to the WKT widget field configuration and use the tokens to populate the auto complete widget.