GeoJSON API

JEO has native support to a GeoJSON API of your content.

Functions

Get the current query GeoJSON API url result:

<?php jeo_get_api_url(); ?>

Custom query:

<?php jeo_get_api_url(array('taxonomy' => 'term')); ?>

Download link for the GeoJSON result:

<?php jeo_get_api_download_url(); ?>