|
|
Line 68: |
Line 68: |
| #Display_map:48.126455,38.623509~MH17 Crash site~Situated @15km NE of the last ADS-B coordinates<br/>above the town of Snizhne and @53km from<br/>the Tamak waypoint on the Russian border; | | #Display_map:48.126455,38.623509~MH17 Crash site~Situated @15km NE of the last ADS-B coordinates<br/>above the town of Snizhne and @53km from<br/>the Tamak waypoint on the Russian border; |
| 48.219,38.216~Enakievo~Ukrainian SBU location for rebel shootdown<br/>from the intercepted phone calls; | | 48.219,38.216~Enakievo~Ukrainian SBU location for rebel shootdown<br/>from the intercepted phone calls; |
− | 47.981,38.467~BUKs~3-4 missile units of Uhrainian Army | + | 48.330,38.487~Chernukhino~Ukrainian SBU location for rebel base<br/>from the intercepted phone calls; |
| + | 47.981,38.467~BUKs~3-4 missile units of Ukrainian Army |
| |width=408 | | |width=408 |
| |height=340 | | |height=340 |
Edit this page
This "sandbox" page is to allow you to carry out experiments. Please feel free to try your skills at formatting here. If you want to learn more about how to edit a wiki, please read this introduction or the tutorial at Wikipedia. For in-depth experimentation, design and testing of templates etc, please use the separate sandbox wiki
To edit, click here or "edit" at the top of the page and make your changes. Then, click the "Show Preview", "Cancel", or "Save page" button above and below the editing box. Previewed or saved work will appear under the "Testing Area" heading below. Please do not add material that is offensive, copyrighted, or libelous.
Please be sure not to change anything on the top line of the edit box.
Content added here will not stay permanently; this page may be cleared at any time.
This is for single page test edits, - for more complex tests, go to Test:Test, where you will have more room, and might find others able to help you.
Testing Area
WL:
WL2:Anders breivik
Google Maps
Loading map...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"auto","height":350,"centre":false,"title":"","label":"","icon":"","visitedicon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"wmsoverlay":false,"copycoords":false,"static":false,"zoom":false,"defzoom":14,"layers":["OpenStreetMap"],"overlaylayers":[],"resizable":false,"enablefullscreen":false,"scrollwheelzoom":true,"markercluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","locations":[],"imageoverlays":null}
Does not work!
Loading map...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"auto","height":350,"centre":false,"title":"","label":"","icon":"","visitedicon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"wmsoverlay":false,"copycoords":false,"static":false,"zoom":false,"defzoom":14,"layers":["OpenStreetMap"],"overlaylayers":[],"resizable":false,"enablefullscreen":false,"scrollwheelzoom":true,"markercluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","locations":[{"text":"\u003Cb\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EMoscow\n\u003C/p\u003E\u003C/div\u003E\u003C/b\u003E\u003Chr /\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EA city in Russia\n\u003C/p\u003E\u003C/div\u003E","title":"Moscow\n","link":"","lat":55.625578,"lon":37.6063916,"icon":""},{"text":"\u003Cb\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003ENew York city\n\u003C/p\u003E\u003C/div\u003E\u003C/b\u003E\u003Chr /\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003C/div\u003E","title":"New York city\n","link":"","lat":40.7127281,"lon":-74.0060152,"icon":""},{"text":"\u003Cb\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003E\u003Ca href=\"/wiki/London\" title=\"London\"\u003ELondon\u003C/a\u003E\n\u003C/p\u003E\u003C/div\u003E\u003C/b\u003E\u003Chr /\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003ECapital of England\n\u003C/p\u003E\u003C/div\u003E","title":"London\n","link":"","lat":51.5074456,"lon":-0.1277653,"icon":"https://wikispooks.com/w/images/2/29/Mobilephonetower.png"},{"text":"\u003Cb\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003C/div\u003E\u003C/b\u003E\u003Chr /\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003C/div\u003E","title":"","link":"","lat":50.8465573,"lon":4.351697,"icon":""},{"text":"\u003Cb\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EMali\n\u003C/p\u003E\u003C/div\u003E\u003C/b\u003E\u003Chr /\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003ELabel\n\u003C/p\u003E\u003C/div\u003E","title":"Mali\n","link":"","lat":16.3700359,"lon":-2.2900239,"icon":"/w/images/2/29/Mobilephonetower.png"}],"imageoverlays":null}
Neither does this
And trying to use javascript just prints the code:
<style>#map-canvas { height: 100%; margin: 0px; padding: 0px }</style>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
<script>
var map; var pins;
function initialize() {
var mapOptions = { zoom: 9, center: new google.maps.LatLng(48.3756, 37.8218) };
map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions);
pins = [
['GANRA', 48.44801, 37.18560, 'https://wikispooks.com/w/images/2/29/icons/mobilephonetower.png'],
['TAMAK', 47.85380, 39.20381, 'https://wikispooks.com/w/images/2/29/icons/mobilephonetower.png'],
];
makepins2(0);
}
google.maps.event.addDomListener(window, 'load', initialize);
function makepins2(startZ) { //includes an individual logo per pin, eg" for track points
for (var i = 0; i < pins.length; i++) {
var thisMarker = pins[i];
var thisLatLng = new google.maps.LatLng(thisMarker[1], thisMarker[2]);
var marker = new google.maps.Marker({
title: thisMarker[0],
position: thisLatLng,
zIndex: startZ+i,
icon: thisMarker[3],
map: map,
});
}
}
</script>
With thanks to the <a href="http://mapicons.nicolasmollet.com" target="nic">
<img src="i/icons/miclogo-88x31.gif"></a> project.
- obviously no JavaScript allowed (not that I was expecting it but thought it worth a try) --Two Dogs (talk) 13:51, 5 September 2014 (IST)
Loading map...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"408px","height":"340px","centre":false,"title":"","label":"","icon":"","visitedicon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"wmsoverlay":false,"copycoords":false,"static":false,"zoom":9,"defzoom":14,"layers":["OpenStreetMap"],"overlaylayers":[],"resizable":false,"enablefullscreen":false,"scrollwheelzoom":true,"markercluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","locations":[{"text":"\u003Cb\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EMH17 Crash site\n\u003C/p\u003E\u003C/div\u003E\u003C/b\u003E\u003Chr /\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003ESituated @15km NE of the last ADS-B coordinates\u003Cbr /\u003Eabove the town of Snizhne and @53km from\u003Cbr /\u003Ethe Tamak waypoint on the Russian border\n\u003C/p\u003E\u003C/div\u003E","title":"MH17 Crash site\n","link":"","lat":48.126455,"lon":38.623509,"icon":""},{"text":"\u003Cb\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EEnakievo\n\u003C/p\u003E\u003C/div\u003E\u003C/b\u003E\u003Chr /\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EUkrainian SBU location for rebel shootdown\u003Cbr /\u003Efrom the intercepted phone calls\n\u003C/p\u003E\u003C/div\u003E","title":"Enakievo\n","link":"","lat":48.219,"lon":38.216,"icon":""},{"text":"\u003Cb\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EChernukhino\n\u003C/p\u003E\u003C/div\u003E\u003C/b\u003E\u003Chr /\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EUkrainian SBU location for rebel base\u003Cbr /\u003Efrom the intercepted phone calls\n\u003C/p\u003E\u003C/div\u003E","title":"Chernukhino\n","link":"","lat":48.33,"lon":38.487,"icon":""},{"text":"\u003Cb\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003EBUKs\n\u003C/p\u003E\u003C/div\u003E\u003C/b\u003E\u003Chr /\u003E\u003Cdiv class=\"mw-parser-output\"\u003E\u003Cp\u003E3-4 missile units of Ukrainian Army\n\u003C/p\u003E\u003C/div\u003E","title":"BUKs\n","link":"","lat":47.981,"lon":38.467,"icon":""}],"imageoverlays":null}
--Two Dogs (talk) 15:52, 5 September 2014 (IST)