Support » Plugin: Advanced Gutenberg Blocks » Maps Block, doesn’t appear?

  • Unfortunately, I can’t link the page to show you what I mean, but when I inspect the page it gives me this code:

    <div class="wp-block-advgb-map advgb-map-block" style="margin:10px auto">
        <div class="advgb-map-content" id="advgbmap-36b411e1-85d3-4f63-9bf7-f3f0a3f3e61e" style="height:350px" data-default="https://maps.gstatic.com/mapfiles/api-3/images/spotlight-poi2.png" data-lat="48.858370" data-lng="2.294471" data-zoom="9" data-title="Place, PA" data-info="%3Cdiv%20class%3D%22advgbmap-wrapper%22%3E%3Ch2%20class%3D%22advgbmap-title%22%3ECarbondale%2C%20PA%3C%2Fh2%3E%3Cp%20class%3D%22advgbmap-desc%22%3E%3C%2Fp%3E%3C%2Fdiv%3E" data-style="%5B%7B%22elementType%22%3A%22geometry%22%2C%22stylers%22%3A%5B%7B%22color%22%3A%22%23212121%22%7D%5D%7D%2C%7B%22elementType%22%3A%22labels.icon%22%2C%22stylers%22%3A%5B%7B%22visibility%22%3A%22off%22%7D%5D%7D%2C%7B%22elementType%22%3A%22labels.text.fill%22%2C%22stylers%22%3A%5B%7B%22color%22%3A%22%23757575%22%7D%5D%7D%2C%7B%22elementType%22%3A%22labels.text.stroke%22%2C%22stylers%22%3A%5B%7B%22color%22%3A%22%23212121%22%7D%5D%7D%2C%7B%22featureType%22%3A%22administrative%22%2C%22elementType%22%3A%22geometry%22%2C%22stylers%22%3A%5B%7B%22color%22%3A%22%23757575%22%7D%5D%7D%2C%7B%22featureType%22%3A%22administrative.country%22%2C%22elementType%22%3A%22labels.text.fill%22%2C%22stylers%22%3A%5B%7B%22color%22%3A%22%239e9e9e%22%7D%5D%7D%2C%7B%22featureType%22%3A%22administrative.land_parcel%22%2C%22stylers%22%3A%5B%7B%22visibility%22%3A%22off%22%7D%5D%7D%2C%7B%22featureType%22%3A%22administrative.locality%22%2C%22elementType%22%3A%22labels.text.fill%22%2C%22stylers%22%3A%5B%7B%22color%22%3A%22%23bdbdbd%22%7D%5D%7D%2C%7B%22featureType%22%3A%22poi%22%2C%22elementType%22%3A%22labels.text.fill%22%2C%22stylers%22%3A%5B%7B%22color%22%3A%22%23757575%22%7D%5D%7D%2C%7B%22featureType%22%3A%22poi.park%22%2C%22elementType%22%3A%22geometry%22%2C%22stylers%22%3A%5B%7B%22color%22%3A%22%23181818%22%7D%5D%7D%2C%7B%22featureType%22%3A%22poi.park%22%2C%22elementType%22%3A%22labels.text.fill%22%2C%22stylers%22%3A%5B%7B%22color%22%3A%22%23616161%22%7D%5D%7D%2C%7B%22featureType%22%3A%22poi.park%22%2C%22elementType%22%3A%22labels.text.stroke%22%2C%22stylers%22%3A%5B%7B%22color%22%3A%22%231b1b1b%22%7D%5D%7D%2C%7B%22featureType%22%3A%22road%22%2C%22elementType%22%3A%22geometry.fill%22%2C%22stylers%22%3A%5B%7B%22color%22%3A%22%232c2c2c%22%7D%5D%7D%2C%7B%22featureType%22%3A%22road%22%2C%22elementType%22%3A%22labels.text.fill%22%2C%22stylers%22%3A%5B%7B%22color%22%3A%22%238a8a8a%22%7D%5D%7D%2C%7B%22featureType%22%3A%22road.arterial%22%2C%22elementType%22%3A%22geometry%22%2C%22stylers%22%3A%5B%7B%22color%22%3A%22%23373737%22%7D%5D%7D%2C%7B%22featureType%22%3A%22road.highway%22%2C%22elementType%22%3A%22geometry%22%2C%22stylers%22%3A%5B%7B%22color%22%3A%22%233c3c3c%22%7D%5D%7D%2C%7B%22featureType%22%3A%22road.highway.controlled_access%22%2C%22elementType%22%3A%22geometry%22%2C%22stylers%22%3A%5B%7B%22color%22%3A%22%234e4e4e%22%7D%5D%7D%2C%7B%22featureType%22%3A%22road.local%22%2C%22elementType%22%3A%22labels.text.fill%22%2C%22stylers%22%3A%5B%7B%22color%22%3A%22%23616161%22%7D%5D%7D%2C%7B%22featureType%22%3A%22transit%22%2C%22elementType%22%3A%22labels.text.fill%22%2C%22stylers%22%3A%5B%7B%22color%22%3A%22%23757575%22%7D%5D%7D%2C%7B%22featureType%22%3A%22water%22%2C%22elementType%22%3A%22geometry%22%2C%22stylers%22%3A%5B%7B%22color%22%3A%22%23000000%22%7D%5D%7D%2C%7B%22featureType%22%3A%22water%22%2C%22elementType%22%3A%22labels.text.fill%22%2C%22stylers%22%3A%5B%7B%22color%22%3A%22%233d3d3d%22%7D%5D%7D%5D">
    </div>
    </div>

    Is this what it’s supposed to look?

    Otherwise, the map doesn’t appear at all on my page, even with an ‘excerpt length’ or a ‘read more’ insert.

    Any suggestions?

Viewing 1 replies (of 1 total)
  • Plugin Author Maxime BERNARD-JACQUET

    (@maximebj)

    The map only shows up in a single post / page. But not in an excerpt on an archive page (to avoid loading the script everywhere).

    Do you see the map on the single page/post ?

    If not : open the browser inspector : right click / inspect and go to “console” tab. Any errors in red ?

Viewing 1 replies (of 1 total)
  • The topic ‘Maps Block, doesn’t appear?’ is closed to new replies.