| 开发者 |
Yatmo SRL
yatmo |
|---|---|
| 更新时间 | 2026年10月1日 01:42 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[yatmo-map] and [yatmo-text] for the classic editor, page builders and PHP templates.https://map.yatmo.com/plugin.html): every page with a Yatmo block or shortcode embeds this page in an iframe. The visitor's browser loads it, with your licence key, the country, the language, the display options and the property coordinates. The widget itself then loads the map, the points of interest and the travel times from Yatmo servers. When favourite addresses are enabled, it also receives an anonymous identifier of the logged-in visitor (a hash of the WordPress user id, which Yatmo cannot turn back into the user) and the addresses that visitor saves.https://<country>.yatmo.com/Summary/text): for each property shown with the text block or shortcode, your server sends the property coordinates and your licence key, and stores the returned text for 30 days.https://<country>.yatmo.com/Geolocation, for example https://be.yatmo.com/Geolocation): when a block or shortcode is given an address instead of coordinates, your server sends that address, the country and your licence key once, and stores the result for 90 days.yatmo-map folder to /wp-content/plugins/, then activate it.[yatmo-map] shortcode, and give it an address or coordinates.From Yatmo: yatmo.com. Use your frontend key, the one locked to your domains, never your backend key.
All are optional; anything left out uses the settings page.
address, or latitude and longitudecountry (BE, FR, UK...), language (EN, FR, NL...)mode: overlay, overlay-scores, map-top, map, summary, summary-tabsheight (560 or 70vh), zoom (7 to 20), map_style (1 to 7), rounded (0 to 15)marker: pin, circle (with circle_radius in metres, 50 to 2000) or custom (with custom_marker_url, custom_marker_width, custom_marker_height)accent_color, summary_background_color, summary_line_color (hex colours)isochrone and route_from: left, right or off; route_from also accepts popuptitle: accessible title of the embed[yatmo-map address="Rue de la Loi 16, 1000 Bruxelles" mode="map-top" marker="circle" isochrone="right"]
[yatmo-text] takes the same address, latitude, longitude, country and language, plus:
paragraphs: comma-separated among education, shopping, publictransports, transports, tourism, citiesheading: h2 to h6street_in_title, city_in_title: 1 or 0[yatmo-text address="Rue de la Loi 16, 1000 Bruxelles" paragraphs="education,shopping,publictransports" heading="h3"]
The text exists in the languages of the property's country (French, Dutch and English in Belgium, for example), otherwise in English.
Yes: <?php echo do_shortcode( '[yatmo-map]' ); ?> with the custom fields set in Settings > Yatmo Map. Developers can also supply the location with the yatmo_map_location filter and adjust the embed with the yatmo_map_iframe_params filter.
The neighbourhood text is: it is part of your page's HTML. The summary panel inside the map widget is not, since the widget is an iframe; use both blocks together for the best of both.
Its features are now in this plugin: deactivate and delete yatmo-text, keep your [yatmo-text] shortcodes. lat, lng, visibleparagraphs, showstreetnameintitle and showplacenameintitle still work; the *nodetype attributes are ignored (use heading, and your theme for the style).
Version 2 shows one property per embed. The lat, lng, style and enable_isochrone attributes still work on [yatmo-map]; [yatmo-marker] is ignored (it prints nothing), so give the location on [yatmo-map].
[yatmo-text] shortcode, rendered as indexable HTML.