Google Maps show the message \"For development purposes only\" when I try to show it in my webpage:
How could I make this message go away?
My code i
For me, Error has been fixed when activated Billing in google console. (I got 1-year developer trial)
Watermarked with “for development purposes only” is returned when any of the following is true:
Now google maps is free for development only.
If you want to use map free like earlier, then create an account with valid details (billing, payment, etc.) google gives $200 MONTHLY CREDIT Which is EQUIVALENT To FREE USAGE
For more details please see Googles new price details: google map new pricing
Also see the old price details: Old one
For my purposes I ended up using an alternative https://www.openstreetmap.org/ .
SATELLITE
or HYBRID
well, it is just a watermark, you can hide it if you change the <div>
that has z-index=100
I use
setInterval(function(){
$("*").each(function() {
if ($(this).css("zIndex") == 100) {
$(this).css("zIndex", "-100");
}
})}
, 10);
or you can use
map.addListener('idle', function(e) {
//same function
}
but it is not as responsive as setInterval