hupe13
Forum Replies Created
-
Forum: Plugins
In reply to: [Extensions for Leaflet Map] I’m getting 401 Invalid Authentication, why?You need register your domain: https://docs.stadiamaps.com/authentication/
Group kml with leaflet-option and iconUrl:
[leaflet-kml iconUrl=.../mun_antolin_del_campo/...png src=/wp-content/uploads/municipios_kml/mun_antolin_del_campo.kml]Antolín del Campo[/leaflet-kml]
[leaflet-kml iconUrl=.../mun_arismendi/...png src=/wp-content/uploads/municipios_kml/mun_arismendi.kml]Arismendi[/leaflet-kml]
[leaflet-optiongroup option="iconUrl" values="mun_antolin_del_campo,mun_arismendi" groups="Antolín del Campo,Arismendi"]
[leaflet-parentgroup parent="Entidades" childs="Antolín del Campo,Arismendi"]mun_antolin_del_campo
andmun_arismendi
are substrings fromiconUrl
.Or do I misunderstand how you want to group?
I’m sorry, my documentation for
leaflet-optiongroup
is not correct:leaflet-geojson (-gpx, -kml): iconUrl, alt, className, color ….
- You can use className for grouping, it is not used by leaflet-geojson but passed through.
Correct is:
You can use className for grouping if you use the option circlemarker, it is not used by leaflet-geojson but passed through.
This example with gpx files shows the use of className for grouping.
So you should use the icon options.
[leaflet-optiongroup option="iconUrl" values="busstop" groups="Paradas de Autobús"]
You can basically group everything. If you want to group
leaflet-marker
andleaflet-kml
withleaflet-optiongroup
use for grouping the options from theleaflet-...
command. You can group kml (like geojson) withleaflet-featuregroup
too, but there I need an example to give a better answer. The groups must have the same name in all cases.In this example I group
leaflet-marker
,leaflet-extramarker
andleaflet-geojson
with 3leaflet-optiongroup
shortcodes by color.Try for kml
className=bus
.Forum: Everything else WordPress
In reply to: User unable to login to dashboard on new (Mac) deviceIs the keyboard set correctly? If she type her username and password into an editor, the correct characters appear?
Forum: Plugins
In reply to: [Extensions for Leaflet Map] How do I locate my custom .png markers?You should use iconsize, iconanchor, popupanchor, tooltipanchor. Example.
Forum: Plugins
In reply to: [WP GPX Maps] Security Scan shows vulnerabilityWP GPX Maps is from Bastianon Massimo. Yes, it is pity, that he does not work on the plugin anymore(?). But I know, developing a plugin takes a lot of time.
I am the author from Extensions for Leaflet Map. I used myself wp-gpx-maps for a long time:
Unfortunately it needed some rework, especially to make wp-gpx-maps and leaflet-map work together. At some point it didn’t work for me at all. So some of its features are included in the shortcode
elevation
. Since version 2.2. it interprets the shortcodesgpx
.You can try it. Its big disadvantage: it does not have a GUI, only shortcodes.
Forum: Plugins
In reply to: [WP GPX Maps] Security Scan shows vulnerabilityI’m not sure, is it this vulnerability or a new one?
I think, you should switch to any other plugin. The linked thread lists some.
Forum: Plugins
In reply to: [Extensions for Leaflet Map] where the code should be written?iconClass="gasstation"
is for grouping, the string between[leaflet-marker ...]
and[/leaflet-marker]
is the popup.If you don’t have different icons for the groups you can use
leaflet-extramarker
. See examples:Forum: Plugins
In reply to: [Extensions for Leaflet Map] where the code should be written?These shortcodes work as expected?
[leaflet-map fitbounds]
[leaflet-marker lat=... lng=... ...]hospital[/leaflet-marker]
[leaflet-marker lat=... lng=... ...]gas station[/leaflet-marker]
[leaflet-marker lat=... lng=... ...]market[/leaflet-marker]
...And now do you like to group these? Have the markers different icons? One icon for hospital, an other for gas station, etc.? How are your shortcodes?
- This reply was modified 2 months, 1 week ago by hupe13.
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Gesture HandlingSee here. Maybe I can’t help you, the woodmart theme isn’t free.
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Gesture HandlingDo you have an URL to a test page?
Forum: Plugins
In reply to: [Extensions for Leaflet Map] Questions / overview mapYou can write the whole popup content (with the distance) in a custom field or in an ACF now. Only {permalink}, {title}, {thumbnail}, {categories} and {link} can be with curly brackets and are replaced. Example.