Ero sivun ”Widget:Ol3RiverMap” versioiden välillä
Järvi-meriwikistä
(Ak: Uusi sivu: <includeonly> <link rel="stylesheet" href="/scripts/ol3/ol.css" type="text/css"> <script src="//cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Elemen...) |
|||
Rivi 41: | Rivi 41: | ||
function gotCoords(request) { | function gotCoords(request) { | ||
− | + | console.log( request ); | |
for (var x in request.query.results) { | for (var x in request.query.results) { | ||
var resultItem = request.query.results[x].printouts; break; | var resultItem = request.query.results[x].printouts; break; | ||
} | } | ||
+ | |||
+ | console.log( resultItem ); | ||
//var lon = resultItem.KoordIta[0]; | //var lon = resultItem.KoordIta[0]; |