Widget:Google Maps: Unterschied zwischen den Versionen
Aus WikiSpeicher
Admin (Diskussion | Beiträge) |
Admin (Diskussion | Beiträge) |
||
Zeile 34: | Zeile 34: | ||
mapTypeId: 'satellite' | mapTypeId: 'satellite' | ||
}); | }); | ||
var infoWin = new google.maps.InfoWindow(); | |||
Zeile 46: | Zeile 48: | ||
if (markerPopup) { | if (markerPopup) { | ||
marker.addListener('click', function () { | marker.addListener('click', function () { | ||
infoWin = new google.maps.InfoWindow({content: markerPopup}); | |||
infoWin.open(map,marker); | infoWin.open(map,marker); | ||
//marker.openInfoWindowHtml(markerPopup); | //marker.openInfoWindowHtml(markerPopup); |
Version vom 29. August 2018, 20:01 Uhr
This widget allows you to add Google Maps widget to your wiki page.
Created by Sergey Chernyshev
Using this widget
For information on how to use this widget, see widget description page on MediaWikiWidgets.org.
Copy to your site
To use this widget on your site, just install MediaWiki Widgets extension and copy the full source code of this page to your wiki as page Widget:Google Maps.