WordPress.org

Ready to get started?Download WordPress

Forums

MapPress Easy Google Maps
MapPress World Map Repeats (2 posts)

  1. mhs0
    Member
    Posted 1 year ago #

    Hi,

    When setting a MapPress map to width="100%", the continents repeat within the map. Is there any way to prevent that from repeating, and still leave the width at 100% so it's responsive for smaller screen sizes?

    Thanks!

    http://wordpress.org/extend/plugins/mappress-google-maps-for-wordpress/

  2. FranceImage
    Member
    Posted 1 year ago #

    Hello,

    This is standard GoogleMap behaviour; a map is displayed using 256 pixels images (tiles)

    At zoom 0, there is only one tile to display, so it your container is bigger than 256 pixels it will start repeating.

    The way around it is to increase zoom level when your container goes bigger.

    0 to 256 pixels: zoom 0
    256 to 512 pixels: zoom 1
    512 to 1024: zoom 2
    1024 to 2048: zoom 3

    Does it make sense ?

    Cheers

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic