Support » Plugin: Flexible Map » Loading with relative URL

Viewing 1 replies (of 1 total)
  • Plugin Author webaware


    G’day, if you’re adding the map in code through a template, then yes you can, e.g.

    $kml = get_bloginfo('template_directory').'/maps/'.get_post_meta($post->ID, 'Mapfile', true);
      'src' => $kml,
      'width' => 500,
      'height' => 400,

    If you’re using the shortcode, then you’ll need to filter ‘flexmap_shortcode_attrs’ to set the ‘src’ attribute that way.

Viewing 1 replies (of 1 total)
  • The topic ‘Loading with relative URL’ is closed to new replies.