Widget:Google Maps: Unterschied zwischen den Versionen
Aus ZUM-Unterrichten
KKeine Bearbeitungszusammenfassung Markierung: 2017-Quelltext-Bearbeitung |
KKeine Bearbeitungszusammenfassung Markierung: 2017-Quelltext-Bearbeitung |
||
Zeile 1: | Zeile 1: | ||
<noinclude>__NOTOC__ | <noinclude>__NOTOC__ | ||
This widget allows you to add '''[https://code.google.com/apis/maps/ Google Maps]''' widget to your wiki page. | This widget allows you to add '''[https://code.google.com/apis/maps/ Google Maps]''' widget to your wiki page. | ||
Zeile 31: | Zeile 14: | ||
<!--{if not isset($static)}--><!--{counter name="mapDivID" assign="mapDivID"}--> | <!--{if not isset($static)}--><!--{counter name="mapDivID" assign="mapDivID"}--> | ||
<script async defer | <script async defer | ||
src="<nowiki>https://maps.googleapis.com/maps/api/js?key=</nowiki><var>AIzaSyAiZdt5XenJudNqZB85QN50e1Sr5Io9F8U</var>&callback=initMap"> | |||
</script> | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
google.load("maps", " | google.load("maps", "3.s"); | ||
// Call this function when the page has been loaded | // Call this function when the page has been loaded | ||
google.setOnLoadCallback(function() { | google.setOnLoadCallback(function() { |
Version vom 22. Januar 2018, 16:22 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.