entire world map please?

New home Forums Pro Add-on General queries entire world map please?

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • #34211
    abundantcontent
    Member

    final question about this particular map i’m making – how can i show continent names, but not countries, as in the screenshot below?

    Attachments:
    You must be logged in to view attached files.
    #34239
    SupportTeam
    Moderator

    Hi again,

    You can install this little plugin: https://wordpress.org/plugins/custom-css-js/ and then add custom JavaScript:

    jQuery(document).ready(function() {
    	setTimeout(function() {
              MYMAP[1].map.setOptions( {
                styles: [{
                  featureType: "administrative.country",
                  elementType: "labels",
                  stylers: [
                    { visibility: "off" }
                  ]
                }]
              });
        }, 500);
    });

    Hope that helps.

    Best

Viewing 2 posts - 16 through 17 (of 17 total)
  • You must be logged in to reply to this topic.