cyberhobo / wordpress-geo-mashup

Official repository for Geo Mashup, the plugin that makes WordPress into a GeoCMS. Documentation:
https://github.com/cyberhobo/wordpress-geo-mashup/wiki/Getting-Started
63 stars 15 forks source link

google maps search bar #854

Closed Photogad closed 4 years ago

Photogad commented 4 years ago

Is there a way to enable google maps search bar to center the map on a location (so user can see near them easier)?

I tried with [geo_mashup_map add_google_bar="true" add_map_control="true" add_overview_control="true"]

but it's not working https://earththroughthelens.com/map/

cyberhobo commented 4 years ago

Google removed that control from their API and I forgot to take it out of the documentation, sorry for that.

Photogad commented 4 years ago

Is this it or a different api?

https://developers.google.com/maps/documentation/javascript/examples/places-searchbox

On Mon, Mar 16, 2020, 11:01 PM Dylan Kuhn notifications@github.com wrote:

Google removed that control from their API and I forgot to take it out of the documentation, sorry for that.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cyberhobo/wordpress-geo-mashup/issues/854#issuecomment-599852743, or unsubscribe https://github.com/notifications/unsubscribe-auth/AENGBZHFT2SW2NZBPSI6LNDRH3R2FANCNFSM4LMZ5NIA .

cyberhobo commented 4 years ago

That example uses the additional Places library, which Geo Mashup doesn't currently include. The old Google bar control was included in the core API before it was removed.