Ero sivun ”Widget:Ol3MuniMap” versioiden välillä
Järvi-meriwikistä
Rivi 45: | Rivi 45: | ||
function gotSeaVPDs(request) { | function gotSeaVPDs(request) { | ||
− | + | ||
− | |||
console.log(request); | console.log(request); | ||
Rivi 64: | Rivi 63: | ||
if ( request.query.results.length > 0 ) { | if ( request.query.results.length > 0 ) { | ||
+ | |||
+ | console.log('sdfsadf'); | ||
var vpdsearchA = []; | var vpdsearchA = []; | ||
Rivi 70: | Rivi 71: | ||
vpdsearchA.push( "VPDTunnus = '" + request.query.results[ r ].printouts.VPDTunnus[0] + "'" ); | vpdsearchA.push( "VPDTunnus = '" + request.query.results[ r ].printouts.VPDTunnus[0] + "'" ); | ||
} | } | ||
+ | |||
+ | console.log( vpdsearchA.join( ' OR ' ) ); | ||
layersArr.push( { | layersArr.push( { |