Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Geographic Coordinate Visitor Group throws error with default configuration

Found in

EPiServer.CMS.UI 9.8.1

Fixed in

EPiServer.CMS.UI 10.6.1

(Or a related package)

Created

Jul 19, 2016

Updated

Feb 27, 2017

Area

CMS UI

State

Closed, Fixed and tested


Description

Google appears to no longer allow API V3 requests without a key (http://googlegeodevelopers.blogspot.de/2016/06/building-for-scale-updates-to-google.html). The Geographic Coordinates visitor group criterion tries to use V3 without a key by default, which throws a MissingKeyMapError.

When first trying to view the map, text appears describing setting a custom V3 embed URL, but it makes it sound optional: "If you have a custom URL for the Google Maps API, such as for a Google Maps API Premier account, please set googleMapsApiV3Url in siteSettings in your configuration as appropriate." Maybe this just needs to be updated to make setting that value a requirement, if no default key can be provided with Episerver.

Setting the googleMapsApiV3Url to a URL with a key does work. The issue is only with the default set up.

This a completely blank install, no plugins / add ons. Nuget Versions below:

Episerver.CMS: 9.12.0
Episerver.CMS.UI: 9.8.1