JjohnjohnNov 20, 2016
Hello,
I am using the Google Maps script on http://themes.semicolonweb.com/html/canvas/contact.php
But how can i make the infoWindow open by default, so there is no need to click?
Thank you for the awesome support!
1 reply · opened Nov 20, 2016
Hello,
I am using the Google Maps script on http://themes.semicolonweb.com/html/canvas/contact.php
But how can i make the infoWindow open by default, so there is no need to click?
Thank you for the awesome support!
Hello,
Thank You so much for the Kind Words. :)
This is Definitely Possible. You can simply add the popup: true Option in the markers Object inside the Google Maps JS Initialization Code. Example:
markers: [
{
address: "Melbourne, Australia",
popup: true,
html: 'Hi, we\'re Envato
Our mission is to help people to **earn** and to **learn** online. We operate **marketplaces** where hundreds of thousands of people buy and sell digital goods every day, and a network of educational blogs where millions learn **creative skills**.
',
icon: {
image: "images/icons/map-icon-red.png",
iconsize: [32, 39],
iconanchor: [13,39]
}
}
]This will definitely work fine.
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