How to use GeoJSON for integration of markers or layers on external sites

Each marker and layer has a corresponding GeoJSON-Feed which can be accessed directly (example GeoJSON-Feed from this website for layer 1), e.g.

http://www.[your-domain].com/wp-content/plugins/leaflet-maps-marker/leaflet-geojson.php?marker=1
or
http://www.[your-domain].com/wp-content/plugins/leaflet-maps-marker/leaflet-geojson.php?marker=1,2,3,4
or
http://www.[your-domain].com/wp-content/plugins/leaflet-maps-marker/leaflet-geojson.php?layer=1
or the following for all markers:
http://www.[your-domain].com/wp-content/plugins/leaflet-maps-marker/leaflet-geojson.php?layer=all

If you want to use those GeoJSON-feeds for websites or applications on domains other than www.[your-domain].com, you have to use the JSONP-notation by adding &callback=jsonp to the URL, e.g.

http://www.[your-domain].com/wp-content/plugins/leaflet-maps-marker/leaflet-geojson.php?layer=1&callback=jsonp

This will result in the following output:

jsonCallback({...});

You can also change the function name for a better integrating into your external website/application by changing the value of the parameter callback – e.g.

http://www.[your-domain].com/wp-content/plugins/leaflet-maps-marker/leaflet-geojson.php?layer=1&callback=jsonp&function=myfunctionname

This will result in the following output:

myfunctionname({...});

Use the parameter full=yes to display all available parameters or full=no to only display the parameters needed for a valid GeoJSON-feed.