• I am not getting the expected results by selecting a different “file color” in the drop down. The markers always come out as red.

    What am I missing?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author MiKa

    (@photoweblog)

    Hello @mygrove

    provide:
    * your WP OSM plugin shortcode
    * the GPX or KML files
    to reproduce.

    Br, Michael

    Thread Starter mygrove

    (@mygrove)

    [osm_map_v3 map_center=”autolat,autolon” zoom=”autozoom” width=”100%” height=”450″ file_list=”../../../../wp-content/uploads/KML/chapels.kml” file_color_list=”blue” control=”fullscreen,overview” map_border=”thin solid green” file_title=”Northampton Chapels”]

    nth_chapels.kml

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <kml xmlns=”https://earth.google.com/kml/2.1″&gt;
    <Document>
    <name>Northampton Chapels</name>

    <Style id=”a”>
    <IconStyle>
    <Icon>
    <href>https://maps.google.com/mapfiles/ms/icons/red-dot.png</href&gt;
    </Icon>
    </IconStyle>
    </Style>
    <Placemark>
    <name>St. Andrews, Harlestone Road</name>
    <styleUrl>#a</styleUrl> <Point>
    <coordinates>-0.931, 52.2512,0</coordinates>
    </Point>
    <description><![CDATA[Methodist, from: ?? until: Open]]></description>
    </Placemark>
    <Placemark>
    <name>Kings Heath</name>
    <styleUrl>#a</styleUrl> <Point>
    <coordinates>-0.9167, 52.2562,0</coordinates>
    </Point>
    <description><![CDATA[Baptist, from: 1956 until: Open]]></description>
    </Placemark>
    <Placemark>
    <name>Harlestone Road</name>
    <styleUrl>#a</styleUrl> <Point>
    <coordinates>-0.9164, 52.2404,0</coordinates>
    </Point>
    <description><![CDATA[Primitive Methodist, from: 1899 until: Closed]]></description>
    </Placemark>
    <Placemark>
    <name>Sandhill Road</name>
    <styleUrl>#a</styleUrl> <Point>
    <coordinates>-0.9156, 52.2404,0</coordinates>
    </Point>
    <description><![CDATA[Primitive Methodist, from: 1887 until: Closed]]></description>
    </Placemark>
    <Placemark>
    <name>Abbey Centre</name>
    <styleUrl>#a</styleUrl> <Point>
    <coordinates>-0.9153, 52.2156,0</coordinates>
    </Point>
    <description><![CDATA[Baptist, from: 1987 until: Open]]></description>
    </Placemark>
    <Placemark>
    <name>Doddridge Memorial</name>
    <styleUrl>#a</styleUrl> <Point>
    <coordinates>-0.9127, 52.2378,0</coordinates>
    </Point>
    <description><![CDATA[Congregational, from: 1855 until: Open]]></description>
    </Placemark>
    <Placemark>
    <name>Alma Street</name>
    <styleUrl>#a</styleUrl> <Point>
    <coordinates>-0.908, 52.2275,0</coordinates>
    </Point>
    <description><![CDATA[Baptist, from: 1860 until: 1893]]></description>
    </Placemark>
    <Placemark>
    <name>Henley Street</name>
    <styleUrl>#a</styleUrl> <Point>
    <coordinates>-0.9072, 52.2273,0</coordinates>
    </Point>
    <description><![CDATA[Primitive Methodist, from: 1863 until: 1924]]></description>
    </Placemark>
    <Placemark>
    <name>Henley Street</name>
    <styleUrl>#a</styleUrl> <Point>
    <coordinates>-0.9072, 52.2273,0</coordinates>
    </Point>
    <description><![CDATA[Salvation Army, from: ?? until: ??]]></description>
    </Placemark>
    <Placemark>
    <name>Abbey Road</name>
    <styleUrl>#a</styleUrl> <Point>
    <coordinates>-0.907, 52.2264,0</coordinates>
    </Point>
    <description><![CDATA[Baptist, from: 1893 until: 1987]]></description>
    </Placemark>
    </Document>
    </kml>

    Plugin Author MiKa

    (@photoweblog)

    Hello @mygrove

    find the adapted test with all the information:

    https://wp-osm-plugin.hyumika.com/wp-osm-plugin-forum-test-page/

    I suggest to choose icons in your KML from the WP OSM Plugin – see my sample in your KML file.

    Br, Michael

    • This reply was modified 2 years, 6 months ago by MiKa.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘File color list’ is closed to new replies.