KFNS#40809 Streetview bij gebouw via google maps

svn path=/Website/branches/v2017.1/; revision=34159
This commit is contained in:
Ruud Lipper
2017-06-07 13:20:23 +00:00
parent 17f52eff4a
commit 351e4bc663
2 changed files with 5 additions and 1 deletions

View File

@@ -87,7 +87,7 @@ oRs.Close();
function openMaps(locKey)
{
fwnd = window.open('../cad/ShowGoogleMap.asp?loc_key=' + locKey, 'FGShow',
"width=640, height=480, directories=no, location=no, menubar=no,"
"width=800, height=600, directories=no, location=no, menubar=no,"
+ "resizable=yes, status=no, titlebar=yes, toolbar=no");
fwnd.focus()
return;

View File

@@ -23,6 +23,7 @@
var bld_key = getQParamInt("bld_key", -1);
var sql = "";
var fg_remote_maps = S("ins_fg_remote_maps");
var title = L("lcl_maps");
// sql heeft in ieder geval een geldige query, ongeacht de params
sql = "SELECT ins_deel_x rdX, ins_deel_y rdY, ins_deel_omschrijving oms"
@@ -54,6 +55,7 @@
var rdX = oRs("rdX").value;
var rdY = oRs("rdY").value;
var oms = oRs("oms").value;
title += ' ' + oms;
if ((rdX == null) || (rdY == null))
{
validXY = 0;
@@ -67,11 +69,13 @@
var rdX = 0;
var rdY = 0;
}
__Log("rdX=" + rdX + " rdY=" + rdY);
%>
<html>
<head>
<title><%=title%></title>
<style type="text/css">
html, body { height: 100%; margin: 0; padding: 0;}
geenhekjeaanbeginregel, #map, #pano { float: left; height: 100%; width: 50%; }