• Resolved longjogger

    (@longjogger)


    Hi,

    I want to use my own tile server. How I have to use [em_osm_default_tiles] for setting my url?

    Thx!

Viewing 1 replies (of 1 total)
  • Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Hi @longjogger,

    The easiest why is to add a snippet to your themes functions.php file.

    add_filter( 'em_osm_default_tiles', function( $maptiles ) {
        return '//stamen-tiles-{s}.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.jpg';
    }, 10, 1 );

    Replace the URL with the one for your custom map tile server. Leaving the http: and https: out.

Viewing 1 replies (of 1 total)
  • The topic ‘How to use [em_osm_default_tiles]?’ is closed to new replies.