Search code examples
javascriptgoogle-mapsapi-key

Google Map referer-not-allowed-map-error


I'm facing a problem with the new update of google map, after generating the key I need to add the URLs which contain google map, there are some URLs contain IDs so how can I add it to display the map?
WebsiteUrl/OrderDetails/{OrderId}

Thanks in Advance.
image


Solution

  • I added the HTTP referrer in this way WebsiteUrl/OrderDetails/*