Open labneu opened 6 years ago
Yes, I also ran in that issue now. I don't want these start and end markers in the map. Workaround for me is to replace them by small, empty bitmap in typo3conf/ext/ods_osm/Resources/Public/JavaScript/Leaflet/leaflet-gpx/ But I believe, with the next update of ods_osm the originals will be back
Workaround: You may hide those icons by adding this CSS code to your page or stylesheet:
<style>
img[src$="leaflet-gpx/pin-icon-end.png"],
img[src$="leaflet-gpx/pin-icon-start.png"],
img[src$="leaflet-gpx/pin-shadow.png"]
{
display: none;
}
</style>
Help! how can i disable the start and end Marker Icon in leaflet Gpx: By default
gpx.js
will usepin-icon-start.png
,pin-icon-end.png
andpin-shadow.png
as the marker icons URLs for, respectively, the start marker, the end marker and their drop shadow. Since it might not be convenient that these images have to reside under the same directory as your HTML page, it is possible to override the marker icon URLs and sizes by passing amarker_options
object to theGPX
options object.