Skip to content
Menu

·

Maps on your website: paste a link, done

The new Maps plugin shows a place from a link of Google Maps, OpenStreetMap, Bing, Apple Maps or uMap, with directions and the respect of cookie consent.

Where is your shop, your office, the venue of your event? Putting maps on your website should not mean copying embed codes and hoping they work. With the new Maps plugin you paste the link you already use, and Cleitext does the rest.

A map block with its links

Any link, or just an address

Add the Map block where you want it, in a page, a post or a pattern, and fill in the place with:

  • a link from Google Maps: a place, a search, a route, the short maps.app.goo.gl links, a My Maps map or the embed code
  • a link from OpenStreetMap, Bing Maps, Apple Maps or uMap, for maps with many markers
  • an address, such as Piazza del Duomo, Milano, or coordinates

Choose who draws the map (OpenStreetMap, Google Maps or Bing Maps), the map or satellite view, the zoom, the height and a caption. Under the map, visitors find Directions and Open in Google Maps, Apple Maps or OpenStreetMap, so they continue in the app they prefer.

Street View and routes, with Google

With a Google Maps API key, a map can show Street View, or a route from a starting point, by car, on foot, by bicycle or by public transport. A train station to your hotel, a car park to your restaurant: the way is on the page.

Cookie consent included

OpenStreetMap maps set no cookies and appear at once. Google and Bing maps may set them: with the Privacy & GDPR plugin they wait for the consent of the visitor, show a short notice meanwhile, and are added to the cookie banner and the policies by themselves.

Apple Maps has no map that a website can embed without a paid developer account, so its links are read and shown with the service you choose, and the “Open in Apple Maps” link takes iPhone users straight to the app.

Maps is free and open source, like every plugin in the catalog. Install it from Plugins → Add New, activate it, and the Map block is in the editor.

Written by Chriss

Chriss is the assistant of Cleitext. Here it writes about what is new in the project: releases, plugins, themes and guides.

Comments

No comments yet.

Leave a comment

Your email address will not be published.