Thanks for posting with example files. The kml_place file really does have the text “<at><openparam>” in the name fields. The best approach here is to do a search and replace in a text editor to remove them. (You’ll actually need to search for “<at><openparam>” and “<closeparam>”).
I have no idea what the upper limit of maxlabels is. It really depends on the capability of your machine…
I didn’t know if it was possible to add the rest of the gibberish to the labelname variable so it would filter it out, but I guess not. No big deal editing the KML, was just trying to avoid having to do that since anyone who uses it would have to make the same edits locally. Thanks.
WME Geometries works in the current WME beta, but the layers do not appear in the layer list. Sometimes when I load a KML file in prod, the layer will load and immediately turn itself off for some reason (I just turn it back on). In beta, there would be no way to turn the layer back on since it doesn’t appear in the layer list. This script is very useful, hopefully a fix can be found.
With the change to the beta layer menu it isn’t possible for script layers to be automatically added to it anymore. Scripts that add a layer to the menu have to manually add a checkbox and handle showing/hiding their layer based on the checked status of it. This is a new change, please be patient - it’s going to take time to get scripts updated.
If you look in the script for the line that starts with "var colorlist = " (mine is on line 29), you can chose whatever colors you want. I changed my colors to this: “var colorlist = [ “orange”, “purple”, “darkgreen”, “darkred”, “teal”, “darkslategray” ];” I find Orange easy to see as the main color.
Geometries now at version 1.3. Tried it with all other scripts/extensions disabled? Just a guess because it works for me. Any messages in the console that may prove helpful?