Jump to content

Web Extension und Google Maps


Rico

Recommended Posts

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


  • Most Valued User

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


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


  • Most Valued User

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


Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.