Google Maps - Multiple Markers

1 reply · opened May 16, 2017

RrksampleMay 16, 2017

Hi,

I am pretty sure this might not be a ticket raised for the team. But still you guys amazed me so much with your theme, I still want to check if you have an option for my requirement.

I have a company which has offices based in 3 locations (US, UK and INDIA), will I be able to display a Google map with all three markers display in the same view?

Any help will be much appreciated.

Thanks,
Ravi.

SSemicolon WebSTAFFMay 23, 2017

Hello,

Thank You so much for the Kind Words! :)

This is Definitely Possible. Please use the following code:

jQuery('#google-map5').gMap({
	 address: 'UAE',
	 maptype: 'ROADMAP',
	 zoom: 2,
	 markers: [
		{
			address: "USA",
			html: "USA"
		},
		{
			address: "United Kingdom",
			html: "United Kingdom"
		},
		{
			address: "India",
			html: "India"
		}
	 ],
	 doubleclickzoom: false,
	 controls: {
		 panControl: true,
		 zoomControl: true,
		 mapTypeControl: false,
		 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.

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