I don't know exactly, but the problem occurs only for about a week or two. I haven't changed anything in the code. My page is
https://www.mapit.ch/ and I include
<script src="
https://api3.geo.admin.ch/loader.js?version=4.4.2">
The url mentioned above (
http://api3...) is not generated by my javascript. I call the function
my_layers["Sperrungen"] = ga.layer.create("ch.astra.wanderland-sperrungen_umleitungen");
I guess, that the Geo Admin API calls the http-url instead of https-url.
As a workarount, I set the "wanderland-sperrungen" Layer invisible, so the javascript error occurs only if a user enable this layer and only if then an other javascript function is called, e.g. click on a polyline or point which usually calls a Tooltip will then cause a popup with "error occured in tooltip identify..", but the real problem is an javascript error "mixed content" as mentioned above.
Thanks for any hint
Regards Jürg