Maps icon indicating copy to clipboard operation
Maps copied to clipboard

Possible to query for place_id (instead of geolocation)?

Open georgjaehnig opened this issue 2 years ago • 3 comments

Hello, instead of

{{#display_map:Brandenburg Gate Berlin}}

I'd like to be able to pass on its Google place ID, e.g.

{{#display_map:ChIJiQnyVcZRqEcRY0xnhE77uyY}}

Is this possible?

(It's only about displaying on Google Maps, not on Leaflet.)

georgjaehnig avatar Mar 15 '22 14:03 georgjaehnig

You could try changing the geocoding service to google (https://maps.extension.wiki/wiki/Configuration). Perhaps that supports these IDs. If it does not, then this is not possible at the moment.

JeroenDeDauw avatar Mar 16 '22 18:03 JeroenDeDauw

If you mean this setting

$egMapsDefaultGeoService = 'google';

then yeah, I have this already.

georgjaehnig avatar Mar 16 '22 18:03 georgjaehnig

Indeed

JeroenDeDauw avatar Mar 16 '22 18:03 JeroenDeDauw