Hello, here is my shortcode:
[osm_map_v3 map_center="48.683969,8.994023" zoom="12" width="100%" height="450" file_list="https://mywebsite.de/wp-content/uploads/2021/11/OSM_Marker_gruppen.kml" file_color_list="none" control="scaleline" map_border="thin solid green" file_title="OSM_Marker_gruppen.kml"]
This works, but I don’t see any markers. WordPress did not accept an upload of my kml file, so I copied them via ftp.
Here is my file:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="https://www.opengis.net/kml/2.2" xmlns:gx="https://www.google.com/kml/ext/2.2" xmlns:kml="https://www.opengis.net/kml/2.2" xmlns:atom="https://www.w3.org/2005/Atom">
<Document>
<name>OSM_Marker_gruppen</name>
<Style id="black_pin">
<IconStyle>
<scale>1</scale>
<Icon>
<href>https://mywebsite.de/wordpress/wp-content/plugins/osm/icons/mic_black_godhouse_10.png</href>
</Icon>
<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
</IconStyle>
</Style>
<Placemark>
<name>Boeblingen</name>
<description>Boeblingen</description>
<styleUrl>#black_pin</styleUrl>
<Point><coordinates>48.685669,9.015250,0</coordinates></Point>
</Placemark>
</Document>
</kml>
-
This reply was modified 3 years ago by theophilix.
-
This reply was modified 3 years ago by theophilix.