Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Problem using shortcode [gmap] after updates.

Home / Forums / Virtue Theme / Problem using shortcode [gmap] after updates.

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
July 25, 2015 at 8:14 pm

Hi there,

I am using Virtue Premium.

I was using the shortcode gmap without real problem (only one warning message because I had two gmaps at my page). So far so good.

But since last updates, the page is no longer showing the gmaps. Not even if I remove one.
This is the code:

<p>Loja e Cozinha na <strong>Vila Madalena</strong>, pertinho do Metrô da Vila Madalena: </p>
[gmap address="Rua Paulistânea, 369, são paulo" title="vemproDonnaSP - Vila Madalena" height="300" zoom="17" maptype="ROADMAP"]
<p>Loja em <strong>São Caetano do Sul</strong>:</p>
[gmap address="Rua General Osório, 277, São Caetano do Sul" title="#vemproDonnaSCS - São Caetano do Sul" height="300" zoom="15" maptype="ROADMAP"]

I am getting the error: “Uncaught SyntaxError: Unexpected token ILLEGAL”.
At:

function kad_build_gmap() {
jQuery('#map_address17').gmap3({
map: {
address:"Rua Paulistânea, 369, são paulo",
options: {
zoom:15,
draggable: isDraggable,
mapTypeControl: true,
mapTypeId: google.maps.MapTypeId.ROADMAP,
scrollwheel: false,
panControl: true,
rotateControl: false,
scaleControl: true,
streetViewControl: true,
zoomControl: true
}
},
marker:{
values:[
{ address: "Rua Paulistânea, 369, são paulo",
data:" (HERE IS WHERE CHROME SHOWS THE x FOR THE ERROR!!)

  • The forum ‘Virtue Theme’ is closed to new topics and replies.