aiwetir
Forum Replies Created
-
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Custom Global Track Color/Border.elevation-polyline { filter:drop-shadow(1px 1px 0 #FFF) drop-shadow(-1px -1px 0 #FFF) drop-shadow(1px -1px 0 #FFF) drop-shadow(-1px 1px 0 #FFF); }
This would be what you would need to change to change the width or color of the border. Thanks
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Custom Global Track Color/BorderSo back to my original question. The track is green and there is a white border. Is there a place to adjust the color and width of that white border?
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Custom Global Track Color/BorderI know the track width is set in the settings. I’m looking for the border width and color that’s on the track also.
Thanks for the track color fix
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Elevation without Elevation Chart<style> .elevation-control { display: none; } </style>
If anyone else needs this you can put this at the end of the post
I have already applied that css and it is working in 3.4.1 and as I said on a fresh install of this on another WP site, it is behaving the same
I just installed Leaflet and extension on a fresh WP installation and see the same behavior
No, it behaves the same
Here’s a test
https://kunamakst.com/posts/test/
Here’s the shortcode
[leaflet-map][elevation gpx=”/wp-content/uploads/gpx/marion-flats.gpx” waypoints=markers][layerswitch tiles=”ESRI Topo”,”OSM”,”Open Cycle Map”][zoomhomemap][fullscreen]Those values work in 3.4.1 but there’s no pop up at all. The map moves when you click on the marker, it loads in the right place, but moves randomly to the wrong place on click
[leaflet-map][elevation gpx=”/wp-content/uploads/gpx/XXX.gpx” waypoints=markers wptIcons=defined][layerswitch tiles=”ESRI Topo”,”OSM”,”Open Cycle Map”][zoomhomemap][fullscreen]
for my defined icons
iconSize: [30,30], iconAnchor: [15,30], popupAnchor: [0, -24],
it’s a private map, but I can try to make a public facing version if you need. I reverted back to 3.4.1 in the mean timeForum: Plugins
In reply to: [Extensions for Leaflet Map] InnerHTML on Elevation Waypoints?I’m getting close to all the functionality I had and you have a similar one as an example. In wp-gpx, I had dynamically generated links (php) in my popups that linked you to the lat/lon in a Google map. It had to grab the lat lon in the php functions and I coded it myself.
Your example is using individual waypoints but I may be able to adapt it to elevation waypoints, maybe not.
It’s not something I need nor anything I expect from these plugins, but if I can figure it out it would be nice- This reply was modified 1 year, 7 months ago by aiwetir.
Forum: Plugins
In reply to: [Extensions for Leaflet Map] InnerHTML on Elevation Waypoints?To use sgpx, I have to edit the plugin css, the theme’s additional css, and search and replace a couple things in the gpx files
To migrate, I have to edit the plugin css, the theme’s additional css, search and replace twice as much in the gpx files, edit all my shortcodes, and add shortcodes.I imagine like most things, the cost of not upgrading will eventually become more costly than fixing it now, but I don’t yet have all the functionality I’m looking for from this plugin so I’m still undecided. But wp-gpx doesn’t work at all for me anymore either
Forum: Plugins
In reply to: [Extensions for Leaflet Map] InnerHTML on Elevation Waypoints?Sorry, maybe that didn’t make sense. That CSS works to stop the tooltip. I posted it in case someone is looking for it here.
It works but I’d prefer to have an option in the settings or a shortcut that works with sgpx (there may be one but I can’t figure it out)
Forum: Plugins
In reply to: [Extensions for Leaflet Map] InnerHTML on Elevation Waypoints?.elevation-tooltip {
display: none;
}If anyone else searches for this here, I’d prefer a different way, but this works
- This reply was modified 1 year, 7 months ago by aiwetir.
Forum: Plugins
In reply to: [Extensions for Leaflet Map] InnerHTML on Elevation Waypoints?I only ask about turning off the tooltip because I’ve got over 100 posts with sgpx in them and haven’t been able to figure out how to turn them off without redoing all 100 posts.
Forum: Plugins
In reply to: [Extensions for Leaflet Map] InnerHTML on Elevation Waypoints?Thanks!
I suppose this will work with some careful search and replace. The popup can be styled with
.elevation-popup .leaflet-popup-content {
width: 300px !important;
}How do I turn off the “tooltip” of the marker onHover?