• Hi there,
    thanks for this great Plugin. Our NGO strongly relies on it in order to educate on littering and pollution.

    We have this new issue since 2 weeks:
    The map on our main page (Plasti.ch) does show the dirty spots (green markers) in Chrome, but not in Firefox.
    Our KML File looks like this (but with more markers).

    <?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>Dreckspots</name>
        <Style id="base_pin">
          <IconStyle>
            <scale>1</scale>
            <Icon>
              <href>../../../../wp-content/plugins/osm/icons/mic_black_darling_10.png</href>
            </Icon>
            <hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
          </IconStyle>
        </Style>
         <Style id="report_pin">
          <IconStyle>
            <scale>1</scale>
            <Icon>
              <href>../../../../wp-content/plugins/osm/icons/mic_green_audio_01.png</href>
            </Icon>
            <hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
          </IconStyle>
        </Style>
        
     <Placemark>
       <name>Mittelkanal/Unterm Parkplatz</name>
       <description><![CDATA[<br />- sehr schmutzig <br />- sichere Schuhe und Handschuhe <br />- nur für Erfahrene]]></description>
       <styleUrl>#report_pin</styleUrl>
       <Point><coordinates>10.06044, 53.55012,0</coordinates></Point>
     </Placemark>
    </Document>
    </kml>

    Do you have any idea on what might be the reason?
    Many thanks!
    Cheers,
    Carl

    • This topic was modified 2 years, 8 months ago by carlplastich.
    • This topic was modified 2 years, 8 months ago by carlplastich.

    The page I need help with: [log in to see the link]

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

    (@photoweblog)

    Hello @carlplastich

    I have checked your site with Firefox and with Chrome. The result is the same, only the icons with two black hearts is shown. What does your shortcode look like?

    Br, Michael

    Thread Starter carlplastich

    (@carlplastich)

    @mika
    Hey Michael,
    thank you so much for helping!

    The shortcode looks like this:
    [osm_map_v3 map_center="53.50753,10.00789" zoom="11.0" width="100%" height="450" file_list="/wp-content/OSM_files/ausleihstellen.kml,/wp-content/OSM_files/dreckspots.kml" file_color_list="black,green" control="fullscreen,scaleline,mouseposition" file_title="Ausleihstellen,Dreckspots" file_select_box="one"]

    In my case, using Chrom(ium) results in this:
    screenshot of map with Chromium

    Is there any way of automatically checking the syntax?
    Thanks again!
    Cheers,
    Carl

    Plugin Author MiKa

    (@photoweblog)

    Hi @carlplastich ,

    the file_select_box is not working correct – remove:
    file_select_box="one"
    and let me know the result of both browsers.

    Br, Michael

    • This reply was modified 2 years, 7 months ago by MiKa.
    Thread Starter carlplastich

    (@carlplastich)

    Hi @mika,
    Thanks for the hint. I removed the line
    file_select_box="one"
    and checked in Firefox and Chrome.
    The file_select_box is removed now, but it’s the same result as before:
    Firefox only shows the black pins, Chromium shows black and green pins.
    Best,
    Carl

    Thread Starter carlplastich

    (@carlplastich)

    Hi all,
    Does really nobody have an idea or a similar problem?
    Would appreciate any hint ??
    Best,
    Carl

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Markers show up in Chrome but not in Firefox’ is closed to new replies.