google map not showing correctly - "For development purposes only"

1 reply · opened Sep 24, 2018

OobjetdaSep 24, 2018

Could someone please help me out with an issue regarding generating the googlemap. I've created and added an API key to the page but for some reason the map is showing "For development purposes only" over it? I looked into moving from V2 to V3 maps and wherever "gMap" was displayed in text had to be changed to "google.maps.Map". I tried this in the line $('#gmap1').gMap({ to $('#gmap1').google.maps.Map({ but this didn't work.

I've reverted back to the original code that was there, but do I need to change any of this JS for this to work properly (see below);

<script type="text/javascript" src="js/jquery.gmap.min.js"></script>

    &lt;script type="text/javascript"&gt; 
		$('#gmap1').gMap({
			scrollwheel: true,
			zoom: 18,
			markers:[
				{
					latitude: -38.221179,
					longitude: 145.178447,
					popup: false
				}
			]
		});
	&lt;/script&gt;

Page link is: http://wildfiresafetybunkers.com.au/contact.html

SSemicolon WebSTAFFSep 24, 2018

Hello,

Yes, this is due to the Recent Changes in the Google APIs. Please visit: https://developers.google.com/maps/documentation/javascript/get-api-key to follow their new guide to generate to new API Key and then simply replace the old API Key with the new one. Thats all!

This will definitely fix the issue. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard