Thortok2000 wrote:Then you never have to worry about new layers coming out or recording the layers the user has active or learning what the new numbers for the layers are or any of that nonsense. Just don't include the &layers part in the url. At all.
I agree that layer-free PLs would be helpful from Validator. But Validator isn't
disabling the experimental roads layer.
Because the experimental roads layer is (presumably) intended to eventually take place of the roads layer, it does not have a place in the WME layer number. It's simply not accounted for at all. So if you create a permalink with the experimental roads layer on, it won't have the experimental roads layer enabled in it, because there's no place for it in the layers= number. This is true no matter how you create the permalink (provided that layers are included), whether in the editor, by a script, or what have you.
So, like I said, I agree that a layerless permalink is a good solution in this case. I'm just explaining that nothing is actively "disabling" the layer, that the layer is disabled by a (deliberate) omission in WME itself.