Widget:Google Maps: Unterschied zwischen den Versionen

Aus WikiSpeicher
 
Zeile 3: Zeile 3:


Created by [https://www.mediawikiwidgets.org/User:Sergey_Chernyshev Sergey Chernyshev]
Created by [https://www.mediawikiwidgets.org/User:Sergey_Chernyshev Sergey Chernyshev]
Modified by [https://vol-2.com Rolf Fleischmann]


== Using this widget ==
== Using this widget ==
Zeile 15: Zeile 16:
width: 100%;
width: 100%;
height: 0;
height: 0;
padding-bottom: 56%;
padding-bottom: 60%;
}
}
.mapContainer>div {
.mapContainer>div {
Zeile 26: Zeile 27:
</style>
</style>
<div id="map" class="mapContainer"></div>
<div id="map" class="mapContainer"></div>
<script type="text/javascript">
<script>
var map;
var map;
function initMap() {
function initMap() {
Zeile 36: Zeile 37:
var infoWin = new google.maps.InfoWindow();
var infoWin = new google.maps.InfoWindow();
var createMarker = function(markerLatLng,MarkerTitle,markerIcon,markerLetter,markerPopup) {
var createMarker = function(markerLatLng,MarkerTitle,markerIcon,markerLetter,markerPopup) {

Aktuelle Version vom 29. August 2018, 20:09 Uhr

This widget allows you to add Google Maps widget to your wiki page.

Created by Sergey Chernyshev Modified by Rolf Fleischmann

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.