Rico Posted July 28, 2017 #1 Share Posted July 28, 2017 Hallo, hat schon jemand Erfahrung mit Google Maps gemacht? Ich habe eine Website gebaut, die anhand der übergebenen Telefonnummer aus einer Datenbank die Adresse ermittelt. Anhand dieser wird dann der entsprechende Kartenausschnitt bei Google Maps eingeblendet. Wenn ich die URL im Google Chrome aufrufe, funktioniert die Seite ohne Probleme, auch im IE 11 und Firefox läuft die Seite. Nur die Anzeige direkt im Skin funktioniert leider nicht, die URL wird zwar aufgerufen (ich lasse mir die übergebene Telefonnummer ausgeben) allerdings wird keine Karte von Google Maps angezeigt. Link to comment Share on other sites More sharing options...
Most Valued User jodost Posted July 28, 2017 Most Valued User #2 Share Posted July 28, 2017 die WebExtensions laufen in irgend einem ganz seltsamen Browser (IE im Kompatiblitäsmodus zum gefühlt IE7), da ist auch CSS jedes Mal ein Spaß. Gilt vermutlich für JavaScript bzw. all das, was google Maps benutzt, auch. Vermutlich öffnest Du besser ein eigenes Browser-Fenster, wie das geht siehe: Link to comment Share on other sites More sharing options...
Most Valued User Sebastian Dreier Posted July 28, 2017 Most Valued User #3 Share Posted July 28, 2017 @Rico Vor vielen Jahren hatte ich bereits eine kleine Javascript Anwendung mit der gleichen Funktion für das SwyxIt geschrieben und im Swyx Independent Forum zum Download bereitgestellt. Vielleicht funktioniert diese ja auch heute noch: admin edit: broken link Link to comment Share on other sites More sharing options...
Rico Posted August 1, 2017 Author #4 Share Posted August 1, 2017 Das Öffnen im eigenen Fenster funktioniert schon, ist aber nicht so praktikabel, aber irgendwie habe ich mir schon so etwas mit der Browser Engine gedacht. @Sebastian Dreier Den Link hatte ich auch schon gefunden, allerdings funktioniert der Download-Link nicht mehr. Link to comment Share on other sites More sharing options...
Most Valued User Virikas Posted August 1, 2017 Most Valued User #5 Share Posted August 1, 2017 Du kannst die verwendete Version des embedded Internet Explorer per Applikation steuern. Standard ist IE 7, du kannst aber bis IE 11 hochgehen. HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION bzw. HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION Da einen DWORD mit dem Namen der .exe für die du eine andere Version brauchst anlegen und mit dem passenden Wert hinterlegen. Quelle: https://msdn.microsoft.com/en-us/library/ee330730(v=vs.85).aspx#browser_emulation Value Description 11001 (0x2AF9 Internet Explorer 11. Webpages are displayed in IE11 edge mode, regardless of the declared !DOCTYPE directive. Failing to declare a !DOCTYPE directive causes the page to load in Quirks. 11000 (0x2AF8) IE11. Webpages containing standards-based !DOCTYPE directives are displayed in IE11 edge mode. Default value for IE11. 10001 (0x2711) Internet Explorer 10. Webpages are displayed in IE10 Standards mode, regardless of the !DOCTYPE directive. 10000 (0x02710) Internet Explorer 10. Webpages containing standards-based !DOCTYPE directives are displayed in IE10 Standards mode. Default value for Internet Explorer 10. 9999 (0x270F) Windows Internet Explorer 9. Webpages are displayed in IE9 Standards mode, regardless of the declared !DOCTYPE directive. Failing to declare a !DOCTYPE directive causes the page to load in Quirks. 9000 (0x2328) Internet Explorer 9. Webpages containing standards-based !DOCTYPE directives are displayed in IE9 mode. Default value for Internet Explorer 9. Important In Internet Explorer 10, Webpages containing standards-based !DOCTYPE directives are displayed in IE10 Standards mode. 8888 (0x22B8) Webpages are displayed in IE8 Standards mode, regardless of the declared !DOCTYPE directive. Failing to declare a !DOCTYPE directive causes the page to load in Quirks. 8000 (0x1F40) Webpages containing standards-based !DOCTYPE directives are displayed in IE8 mode. Default value for Internet Explorer 8 Important In Internet Explorer 10, Webpages containing standards-based !DOCTYPE directives are displayed in IE10 Standards mode. 7000 (0x1B58) Webpages containing standards-based !DOCTYPE directives are displayed in IE7 Standards mode. Default value for applications hosting the WebBrowser Control. Link to comment Share on other sites More sharing options...
Rico Posted August 2, 2017 Author #6 Share Posted August 2, 2017 Danke für die Beschreibung. Das werde ich mal ausprobieren und dann Feedback geben. Link to comment Share on other sites More sharing options...
Rico Posted August 2, 2017 Author #7 Share Posted August 2, 2017 Funktioniert perfekt, allerdings nur wenn ich die Applikation bei HKEY_CURRENT_USER eintrage, der Eintrag bei HKEY_LOCAL_MACHINE wird ignoriert. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.