TypeError: cannot delete property

Even when the most basic card loads, the following error is displayed:

TypeError: cannot delete property.

This is due to the increase, as with any scaling, the error is displayed again.

I tried to reset the map to v 3.5 https://maps.googleapis.com/maps/api/js?v=3

and he worked for several days, then again the same error was repeated.

Returning even further to v3 will no longer help. What happened and how could this be fixed?

BTW: the problem does NOT occur with CHROME / FIREFOX, but with SAFARI (5.1.1)

+5
source share
1 answer

TL DR : Safari 5.1 support is stopped. Solutions update the browser or use a different one.


Here was announced a new version of Google Maps. AFAIK is the newest stable version of Google Maps shipped since 12/17/2014 (v3.18) and does not support any version of Safari <6.

I found this answer from Google Staff here :

Apple released Safari 5.1 (and OS X 10.6 in general), the latest release (for security purposes only), a patch more than a year ago. Similarly, the Maps API is not longer support for this browser (as described in the FAQ, as well as several other places: https://developers.google.com/maps/faq#browsersupport ).

Browser migration is painful, and sites often do not have control over what browsers their users visit, but — like the age of the browsers — the line should be drawn somewhere. The latest Safari 5 update received a substantial update almost 3 years ago (in 5.1.4) and can no longer keep up with what is needed from it.

Users really shouldn't be on OS X 10.6 either (as the last protection update was at the same time as Safari 5, in September 2013), but the good news for those who cannot or cannot update is that that the latest versions of Chrome and Firefox still support 10.6, and both of them are well supported by the JS Maps API.

For me, the change log was a bit confusing:

Current and previous version of Safari (Mac OS X)

This does not seem to cover discontinued versions of Mac OS X. Also, Safari for Windows is not mentioned. Looking at the support timeline for Safari Windows is no longer supported.

+1
source

Source: https://habr.com/ru/post/1209642/


All Articles