Title: Specify KML via API
Last modified: September 1, 2016

---

# Specify KML via API

 *  [deancs](https://wordpress.org/support/users/deancs/)
 * (@deancs)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/specify-kml-via-api/)
 * Hi
 * Thanks for your great plugin. I am trying to use the API to include a KML file.
   The call works and the map is displayed but the KML overlay is not displayed.
   In the array I have ‘src’ => $url,
 * It works correctly using the shortcode.
 * Is this supported ?
 * Thanks, Dean
 * [https://wordpress.org/plugins/wp-flexible-map/](https://wordpress.org/plugins/wp-flexible-map/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [webaware](https://wordpress.org/support/users/webaware/)
 * (@webaware)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/specify-kml-via-api/#post-8137867)
 * G’day Dean,
 * Sorry for the delay in responding, didn’t see the notification come in (if it
   did — some notifications don’t come!)
 * On the off chance that you still need an answer, it sounds like maybe you’re 
   specifying both a centre and a KML src. The plugin currently only handles one
   of those at a time, not both; centre (or address) wins and KML src will be ignored.
   If you remove the centre (or address) then the KML src will be loaded and the
   map will centre accordingly.
 * cheers,
    Ross

Viewing 1 replies (of 1 total)

The topic ‘Specify KML via API’ is closed to new replies.

 * ![](https://ps.w.org/wp-flexible-map/assets/icon-256x256.png?rev=2590627)
 * [Flexible Map](https://wordpress.org/plugins/wp-flexible-map/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-flexible-map/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-flexible-map/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-flexible-map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-flexible-map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-flexible-map/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [webaware](https://wordpress.org/support/users/webaware/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/specify-kml-via-api/#post-8137867)
 * Status: not resolved