• I am working with another plugin that stores GeoJSON as meta information.

    I’d like to be able to insert that inline (in a template, I can use do_shortcode using the meta value), or refer to it as a key to lookup from the database related to the current record, or optionally a different post id. Is that something you’ve considered adding?

    something like
    [leaflet-geojson raw=<geoJSON string>]
    or
    [leaflet-geojson geofield=<fieldname> id=<other post id>]

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

    (@bozdoz)

    Have not looked into this. I have the feeling that it would be typically difficult to either read, or format, or perhaps parse. I’m under the impression for example that shortcodes can’t have newlines in within them (not including the content within a start or end tag).

Viewing 1 replies (of 1 total)
  • The topic ‘inline GeoJSON’ is closed to new replies.