YOOtheme Pro is here! The best WordPress and Joomla theme. Learn more

Avatar reinder.herder asked

Address in Map - Widgetkit2

Hi,

I have a Joomla 3.8.3, Yoo_avenue , Widgetkit2 installation and have to use a lot of addresses in the (Google) Map of the Widgetkit2.
But I do not succeed in getting the marker to the desired point at the map by just typing the address in the field.
I have to manualy drag the marker to the address.

How can this be solved?

And .... oh yes... I do have a Google Maps API Key

Regards,
Reinder

  • Joomla
  • Widgetkit

2 Answers

0

Avatar michael.maass Support Online answered

But I do not succeed in getting the marker to the desired point at the map by just typing the address in the field.
I have to manualy drag the marker to the address.

Is your issue the precision of the marker? If so: Is the marker more precisely positioned if you type the address in https://www.google.de/maps/?

The positioning is entirely managed by the Googlemaps service. It is not controlled by Widgetkit. If it is not exact you will have to either use latitude/longitue values or manually adjust the marker pin.

And .... oh yes... I do have a Google Maps API Key

Did you activate the "Geocoding" service in your Googlemaps account? It is responsible for translating a literal street address into a geographical location.

Thank you

Edited

0

Avatar reinder.herder answered

Hi Michael,

The issue was that the marker did not move to any location when adding an address in the location field.

I (just before you answered) made a new API-key and added this one: Google Places API Web Service
and it worked!!
Not sure which one did the trick, the new API or the added Google service.
Just to be sure I added your advised Geocoding.

Works fine now!!

Thanks,

Reinder

Know someone who can answer? Share a link to this question via email or twitter.