Google maps not centered

5 replies · opened Apr 11, 2017

Ccompu_tekApr 11, 2017

Hi,

I need your help. I've created a project with one-page, all works fine, but the google maps dont show centered and half of map dosent show at all.
What am i doing wrong?

The website:
MyWebsiteLink

Best regards

Ccompu_tekApr 12, 2017

Hi,

I really need help on this one.

Thanks

Ccompu_tekApr 13, 2017

Hi there,

Any help please. Only showing half of the map...

Thanks

Ccompu_tekApr 13, 2017

Hi there,

I found the error.

Thanks

SSemicolon WebSTAFFApr 14, 2017

Hello,

We Really Apologize about the Delays!

Please replace the Maps JS Code in the assets/js/maps.js File with the following code:

jQuery(window).on( 'load', function(){
	jQuery('#headquarters-map').gMap({

		latitude: 41.5384656,
		longitude: -6.9586897,
		maptype: 'ROADMAP',
		zoom: 16,
		markers: [
			{
			latitude: 41.5384656,
			longitude: -6.9586897,
			}
		],
		doubleclickzoom: false,
		controls: {
			panControl: true,
			zoomControl: true,
			mapTypeControl: true,
			scaleControl: false,
			streetViewControl: false,
			overviewMapControl: false
		}
	});
});

This will definitely work fine. Hope this Helps!

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

Ccompu_tekApr 14, 2017

Thanks, works great.

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