2014-12-21 19 views
5

Nawet podczas najbardziej podstawowa mapa ładuje się następujący błąd jest pokazane:TypeError: nie można usunąć właściwość

TypeError: Nie można usuwać własności.

Ma to związek z zoomem, podobnie jak w przypadku każdego powiększania, błąd jest wyświetlany ponownie.

Próbowałem zresetować mapę do v 3.5 https://maps.googleapis.com/maps/api/js?v=3

i pracował przez kilka dni, a następnie ten sam błąd się ponownie.

Wracając jeszcze bardziej do V3 nie pomogłoby już. Co się stało i jak można to naprawić?

BTW: problem nie występuje z Chrome/Firefox, ale z Safari (5.1.1)

+0

ewentualnie powiązane kwestie w trackerze emisyjnej: [Issue 7475] (https://code.google.com/p/gmaps-api-issues/issues/detail ? id = 7475), [Issue 7480] (https://code.google.com/p/gmaps-api-issues/issues/detail?id=7480). Obecnie dostępna wersja o najniższym numerze to 3.17 (patrz [Wersja] (https://developers.google.com/maps/documentation/javascript/basics?csw=1#Versioning) w dokumentacji) – geocodezip

+0

Dodałem komentarze do wydania 7475 ponieważ podczas drukowania z PhantomJS mamy te same problemy. – KeyOfJ

+0

Problemy z PhantomJS powinny zostać naprawione od wersji 3.19 opublikowanej 17 lutego 2015 r. - patrz również http://stackoverflow.com/questions/27429129/phantomjs-javascript-errors-from-gstatic-but-not-in-browser – robd

Odpowiedz

1

TL; DR: wsparcie dla Safari 5.1 został zatrzymany. Rozwiązania aktualizują przeglądarkę lub używają innej.


Nowa wersja Google Maps was announced here. AFAIK najnowsza stabilna wersja Map Google jest dostarczany od 17.12.2014 (v3.18) i nie obsługuje żadnej wersji Safari < 6.

Znalazłem tę odpowiedź ze Google służbhere:

Apple has retired Safari 5.1 (and OS X 10.6 in general), last issuing a (security-only) patch over a year ago. Likewise, the Maps API is no longer supporting that browser (as discussed in the FAQ as well as a few other places: https://developers.google.com/maps/faq#browsersupport).

Browser migration is painful and sites often have no control over what browsers their users visit with, but -- as browsers age -- a line must be drawn somewhere. Safari 5 last got a major feature update nearly 3 years ago (in 5.1.4) and can no longer keep up with what's needed from it.

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

Dla mnie changelog było trochę mylące:

The current and previous version of Safari (Mac OS X)

To najwyraźniej nie obejmuje przerwane ver w systemie Mac OS X. Nie wspomniano również o Safari dla Windows. Patrząc na the support timeline dla Safari Windows nie jest już wspierany.

Powiązane problemy