Changes

Jump to: navigation, search

Help:Editing

1,684 bytes removed, 20 April
no edit summary
[mailto:hello@madacamp.com hello@madacamp.com]
<!---
== Skype button ==
To display a Skype button that will launch Skype and call or start a chat to a specified Skype address as well as indicate its online or offline status, first configure your Skype application to allow its status be shown online (if it has not already been configured as such). This is done within the Skype application section <b>Tools->Options->Privacy</b>. Tick the checkbox ''Allow my status to be shown on the web'':== Maps ==
<div style="max-width:600px;">{{#display_map:-15.214232, 50.076107~[[File:Skype_configuration.jpgHotel Fitiavana]]~~;|type=satellite|service=google|width=auto|height=400|zoom=18|controls=pan, zoom, type, scale|searchmarkers=al||copycoords=yes}}</div>
The following example will create a button for which a call can be made when clicked on<pre><nowiki><div style="max-width:600px;">{{#display_map:-15.214232, 50.076107~[[Hotel Fitiavana]]~~;|type=satellite|service=google|width=auto|height=400|zoom=18|controls=pan, zoom, type, scale|copycoords=yes}}</div></nowiki></pre>
<pre><nowiki><skype style="bigclassic" action="call">YourSkypeName</skype></nowiki></pre>Example map with a line and markers ==
<skype style{{#display_map:-13.1918264553,49.0500772744~[[Noor Hotel]]~~;-12.8073644824,48.9577304944~Bobasakoa~~;| lines="bigclassic" action-13.1918264553,49.0500772744:-12.8073644824,48.9577304944|service="call">madacamp</skype>leaflet|height=500|center=-12.9640116915,48.9870830812|zoom=10|enablefullscreen=yes}}
The available styles are<pre><nowiki>{{#display_map: balloon-13.1918264553, bigclassic49.0500772744~[[Noor Hotel]]~~;-12.8073644824, smallclassic48.9577304944~Bobasakoa~~;| lines=-13.1918264553, smallicon49.0500772744:-12.8073644824,48.9577304944|service=leaflet|height=500|center=-12.9640116915, mediumicon48.9870830812|zoom=10|enablefullscreen=yes}}</nowiki></pre>
See examples More at http://www[[Maps]].skype.com/intl/en/share/buttons/status.html
The available actions are: add, chat or call --> == Google maps Replace text example == To create new or edit existing Google maps on pages, click on the map button https://www.madacamp.com/extensions/GoogleMaps/images/button_map_open.gif above the edit box.  Find the region to display, set the various size and display options and thereafter copy the resulting &lt;googlemap>...&lt;googlemap> code into the edit box and save the page. Various display options include satellite view, map view, adding of place markers, drawing lines etc. == Google paths == Go to maps.google.com Click menu in top left corner -> Your places -> MAPS Click CREATE MAP (bottom left of screen) Click Import Select a track on the computer (eg. Track_AMBOHIMANGA-IVATO.gpx) anddrag and drop into the Upload space Click on the upper three dots Export to KML/KMZ Select "Export to a .KML file (full icon support use .KMZ)." Download Click Save File, to eg. FILENAME.gpx In the file, there is a list of coordinates: <pre><nowiki><coordinates></nowiki> 50.1606086176,-14.2578310333,12.63 50.1606914308,-14.2576493975,11.67etc.</coordinates></pre> Run geoconvert.sh FILENAME.gpx to change format to: <pre>-14.2578310333, 50.1606086176-14.2576493975, 50.1606914308etc.</pre> Copy into a new Google map, eg.: <pre><nowiki><googlemap version="0.9" lat="-19.105844" lon="47.33697" height="750"controls="large" style="width:100%;max-width:600px;"></nowiki>2#B2FCFF00-14.2578310333, 50.1606086176-14.2576493975, 50.1606914308etc.<nowiki></googlemap></nowiki></pre> Placemarker icons are done separately above the path code == Scalable maps == Modify markup on all pages containing maps to include <code>style="width:100%;max-width:600px;"</code>, e.g.:<br><nowiki><googlemap version="0.9" lat="-12.243119" lon="49.345264" type="satellite" zoom="16" controls="large" style="width:100%;max-width:600px;"></nowiki>
Use http://www.madacamp.com/Special:ReplaceText

Navigation menu