Widget:Google Maps: Unterschied zwischen den Versionen

Aus ZUM-Unterrichten
KKeine Bearbeitungszusammenfassung
Markierung: 2017-Quelltext-Bearbeitung
KKeine Bearbeitungszusammenfassung
Markierung: 2017-Quelltext-Bearbeitung
Zeile 17: Zeile 17:
        function initMap() {
        function initMap() {
          var uluru = {lat: -25.363, lng: 131.044};
          var uluru = {lat: -25.363, lng: 131.044};
          var map = new google.maps.Map(document.getElementById('map'), {
          var map = new google.maps.Map(document.getElementById("map<!--{$mapDivID|escape:'html'}-->"), {
            zoom: 4,
            zoom: 4,
            center: uluru
            center: uluru

Version vom 23. Januar 2018, 11:10 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.