I'm using Smart Map for Craft 3 to develop this filterable map for Columbia, Missouri. Here's the staging site:
http://visionzerodev.org/map-alpha/ This works brilliantly. Huzzah.
Now, I also need to add a couple of KML layers to it.
Here's where I'm developing the KML proof of concept: http://visionzerodev.org/map-bravo/
BUT — I get the this error: "Invalid KML file".
I'm sure I'm missing something obvious.
The KML is importable in Google Maps: (It was previously used as is in FusionTables) https://drive.google.com/open?id=1J4epYVJPZXFrmQjq19PSfQuMiTGWmcbt&usp=sharing
The KML file is publicly accessible here: http://visionzerodev.org/assets/data/high-crash-network.kml
Here's my Twig:
{% set kmlFile = '/assets/data/high-crash-network.kml' %}
{% set options = {
height: 600,
} %}
{% if kmlFile %}
{{ craft.smartMap.kml(kmlFile, options) }}
{% endif %}