[Mapserver-users] Mapplet is not drawing the map

Eduardo Patto Kanegae eduardo at linkgeo.com.br
Mon Jun 30 01:32:41 EDT 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C33EAF.E1069610
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I've put a beta of ClickBrasil at http://www.linkgeo.com.br/clickbrasil/ =
 , but
it seems to be working fine with Mapplet.

For example, if I got the first view of the site - that's an URL like =
http://www.linkgeo.com.br/cgi-local/mapserv?imgxy=3D299.5+187&imgbox=3D-1=
+-1+-1+-1&current_imgext=3D-84.397133+-33.751000+-21.971867+5.272000&map=3D=
%2Fhome%2Frestricted%2Fhome%2Fscopotecnologia%2Fdados%2Fclickbrasil.ptbr.=
map&originalmap=3D%2Fhome%2Frestricted%2Fhome%2Fscopotecnologia%2Fdados%2=
Fclickbrasil.ptbr.map&program=3D%2Fcgi-local%2Fmapserv&mainsite=3D%2Fptbr=
%2F&app_url=3D%2Fclickbrasil%2F&app_style1=3D%2Fptbr%2Fthemes%2Fsimple%2F=
style.css&app_style2=3D%2Fptbr%2Fthemes%2Fsimple%2Fforms.css&app_style3=3D=
%2Fptbr%2Fthemes%2Fsimple%2Flists.css&app_style4=3D%2Fptbr%2Fthemes%2Fsim=
ple%2Fdownloads.css&app_style5=3D%2Fptbr%2Fthemes%2Fsimple%2Fforum.css&ap=
p_style6=3D%2Fptbr%2Fthemes%2Fsimple%2Fnews.css&app_style7=3D%2Fptbr%2Fth=
emes%2Fsimple%2Fpolls.css&mode=3Dbrowse&zoomdir=3D0&zoomsize=3D2&imgext=3D=
-84.397133+-33.751000+-21.971867+5.272000&map_findmuni_class_expression=3D=
&procurar_por=3D&layer=3Dbr_uf&redraw.x=3D14&redraw.y=3D17

Mapplet area gets grey and nothing more.

But if I get "Print Preview" URL - something like =
http://www.linkgeo.com.br/cgi-local/mapserv?imgxy=3D299.5+187&imgbox=3D-1=
+-1+-1+-1&current_imgext=3D-84.397133+-33.751000+-21.971867+5.272000&map=3D=
%2Fhome%2Frestricted%2Fhome%2Fscopotecnologia%2Fdados%2Fclickbrasil.ptbr.=
map&originalmap=3D%2Fhome%2Frestricted%2Fhome%2Fscopotecnologia%2Fdados%2=
Fclickbrasil.ptbr.map&program=3D%2Fcgi-local%2Fmapserv&mainsite=3D%2Fptbr=
%2F&app_url=3D%2Fclickbrasil%2F&app_style1=3D%2Fptbr%2Fthemes%2Fsimple%2F=
style.css&app_style2=3D%2Fptbr%2Fthemes%2Fsimple%2Fforms.css&app_style3=3D=
%2Fptbr%2Fthemes%2Fsimple%2Flists.css&app_style4=3D%2Fptbr%2Fthemes%2Fsim=
ple%2Fdownloads.css&app_style5=3D%2Fptbr%2Fthemes%2Fsimple%2Fforum.css&ap=
p_style6=3D%2Fptbr%2Fthemes%2Fsimple%2Fnews.css&app_style7=3D%2Fptbr%2Fth=
emes%2Fsimple%2Fpolls.css&mode=3Dbrowse&zoomdir=3D0&zoomsize=3D2&imgext=3D=
-84.397133+-33.751000+-21.971867+5.272000&map_findmuni_class_expression=3D=
&procurar_por=3D&layer=3Dbr_uf&redraw.x=3D14&redraw.y=3D17&map_web_templa=
te=3D/home/restricted/home/scopotecnologia/public_html/clickbrasil/ptbr_p=
rinttemplate.html

- which is almost the same template file. The main diference is that in =
Preview mode, I put a <IMG> to map rather than a <MAPPLET>

I believe this might be because of my dial-phone connection , which is =
very slow. Am I right?

regards,

Eduardo Patto Kanegae
eduardo at linkgeo.com.br
http://www.linkgeo.com.br - Brasil

------=_NextPart_000_0007_01C33EAF.E1069610
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2723.2500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I've put a beta of ClickBrasil =
at&nbsp;</FONT><FONT=20
face=3DArial size=3D2><A=20
href=3D"http://www.linkgeo.com.br/clickbrasil/">http://www.linkgeo.com.br=
/clickbrasil/</A>&nbsp;=20
, but</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>it seems to be working fine with=20
Mapplet.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>For example, if I got the first view of =
the site -=20
that's an URL like <A=20
href=3D"http://www.linkgeo.com.br/cgi-local/mapserv?imgxy=3D299.5+187&amp=
;imgbox=3D-1+-1+-1+-1&amp;current_imgext=3D-84.397133+-33.751000+-21.9718=
67+5.272000&amp;map=3D%2Fhome%2Frestricted%2Fhome%2Fscopotecnologia%2Fdad=
os%2Fclickbrasil.ptbr.map&amp;originalmap=3D%2Fhome%2Frestricted%2Fhome%2=
Fscopotecnologia%2Fdados%2Fclickbrasil.ptbr.map&amp;program=3D%2Fcgi-loca=
l%2Fmapserv&amp;mainsite=3D%2Fptbr%2F&amp;app_url=3D%2Fclickbrasil%2F&amp=
;app_style1=3D%2Fptbr%2Fthemes%2Fsimple%2Fstyle.css&amp;app_style2=3D%2Fp=
tbr%2Fthemes%2Fsimple%2Fforms.css&amp;app_style3=3D%2Fptbr%2Fthemes%2Fsim=
ple%2Flists.css&amp;app_style4=3D%2Fptbr%2Fthemes%2Fsimple%2Fdownloads.cs=
s&amp;app_style5=3D%2Fptbr%2Fthemes%2Fsimple%2Fforum.css&amp;app_style6=3D=
%2Fptbr%2Fthemes%2Fsimple%2Fnews.css&amp;app_style7=3D%2Fptbr%2Fthemes%2F=
simple%2Fpolls.css&amp;mode=3Dbrowse&amp;zoomdir=3D0&amp;zoomsize=3D2&amp=
;imgext=3D-84.397133+-33.751000+-21.971867+5.272000&amp;map_findmuni_clas=
s_expression=3D&amp;procurar_por=3D&amp;layer=3Dbr_uf&amp;redraw.x=3D14&a=
mp;redraw.y=3D17">http://www.linkgeo.com.br/cgi-local/mapserv?imgxy=3D299=
.5+187&amp;imgbox=3D-1+-1+-1+-1&amp;current_imgext=3D-84.397133+-33.75100=
0+-21.971867+5.272000&amp;map=3D%2Fhome%2Frestricted%2Fhome%2Fscopotecnol=
ogia%2Fdados%2Fclickbrasil.ptbr.map&amp;originalmap=3D%2Fhome%2Frestricte=
d%2Fhome%2Fscopotecnologia%2Fdados%2Fclickbrasil.ptbr.map&amp;program=3D%=
2Fcgi-local%2Fmapserv&amp;mainsite=3D%2Fptbr%2F&amp;app_url=3D%2Fclickbra=
sil%2F&amp;app_style1=3D%2Fptbr%2Fthemes%2Fsimple%2Fstyle.css&amp;app_sty=
le2=3D%2Fptbr%2Fthemes%2Fsimple%2Fforms.css&amp;app_style3=3D%2Fptbr%2Fth=
emes%2Fsimple%2Flists.css&amp;app_style4=3D%2Fptbr%2Fthemes%2Fsimple%2Fdo=
wnloads.css&amp;app_style5=3D%2Fptbr%2Fthemes%2Fsimple%2Fforum.css&amp;ap=
p_style6=3D%2Fptbr%2Fthemes%2Fsimple%2Fnews.css&amp;app_style7=3D%2Fptbr%=
2Fthemes%2Fsimple%2Fpolls.css&amp;mode=3Dbrowse&amp;zoomdir=3D0&amp;zooms=
ize=3D2&amp;imgext=3D-84.397133+-33.751000+-21.971867+5.272000&amp;map_fi=
ndmuni_class_expression=3D&amp;procurar_por=3D&amp;layer=3Dbr_uf&amp;redr=
aw.x=3D14&amp;redraw.y=3D17</A></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Mapplet area gets grey and nothing=20
more.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>But if I get "Print Preview" URL - =
something like=20
<A=20
href=3D"http://www.linkgeo.com.br/cgi-local/mapserv?imgxy=3D299.5+187&amp=
;imgbox=3D-1+-1+-1+-1&amp;current_imgext=3D-84.397133+-33.751000+-21.9718=
67+5.272000&amp;map=3D%2Fhome%2Frestricted%2Fhome%2Fscopotecnologia%2Fdad=
os%2Fclickbrasil.ptbr.map&amp;originalmap=3D%2Fhome%2Frestricted%2Fhome%2=
Fscopotecnologia%2Fdados%2Fclickbrasil.ptbr.map&amp;program=3D%2Fcgi-loca=
l%2Fmapserv&amp;mainsite=3D%2Fptbr%2F&amp;app_url=3D%2Fclickbrasil%2F&amp=
;app_style1=3D%2Fptbr%2Fthemes%2Fsimple%2Fstyle.css&amp;app_style2=3D%2Fp=
tbr%2Fthemes%2Fsimple%2Fforms.css&amp;app_style3=3D%2Fptbr%2Fthemes%2Fsim=
ple%2Flists.css&amp;app_style4=3D%2Fptbr%2Fthemes%2Fsimple%2Fdownloads.cs=
s&amp;app_style5=3D%2Fptbr%2Fthemes%2Fsimple%2Fforum.css&amp;app_style6=3D=
%2Fptbr%2Fthemes%2Fsimple%2Fnews.css&amp;app_style7=3D%2Fptbr%2Fthemes%2F=
simple%2Fpolls.css&amp;mode=3Dbrowse&amp;zoomdir=3D0&amp;zoomsize=3D2&amp=
;imgext=3D-84.397133+-33.751000+-21.971867+5.272000&amp;map_findmuni_clas=
s_expression=3D&amp;procurar_por=3D&amp;layer=3Dbr_uf&amp;redraw.x=3D14&a=
mp;redraw.y=3D17&amp;map_web_template=3D/home/restricted/home/scopotecnol=
ogia/public_html/clickbrasil/ptbr_printtemplate.html">http://www.linkgeo.=
com.br/cgi-local/mapserv?imgxy=3D299.5+187&amp;imgbox=3D-1+-1+-1+-1&amp;c=
urrent_imgext=3D-84.397133+-33.751000+-21.971867+5.272000&amp;map=3D%2Fho=
me%2Frestricted%2Fhome%2Fscopotecnologia%2Fdados%2Fclickbrasil.ptbr.map&a=
mp;originalmap=3D%2Fhome%2Frestricted%2Fhome%2Fscopotecnologia%2Fdados%2F=
clickbrasil.ptbr.map&amp;program=3D%2Fcgi-local%2Fmapserv&amp;mainsite=3D=
%2Fptbr%2F&amp;app_url=3D%2Fclickbrasil%2F&amp;app_style1=3D%2Fptbr%2Fthe=
mes%2Fsimple%2Fstyle.css&amp;app_style2=3D%2Fptbr%2Fthemes%2Fsimple%2Ffor=
ms.css&amp;app_style3=3D%2Fptbr%2Fthemes%2Fsimple%2Flists.css&amp;app_sty=
le4=3D%2Fptbr%2Fthemes%2Fsimple%2Fdownloads.css&amp;app_style5=3D%2Fptbr%=
2Fthemes%2Fsimple%2Fforum.css&amp;app_style6=3D%2Fptbr%2Fthemes%2Fsimple%=
2Fnews.css&amp;app_style7=3D%2Fptbr%2Fthemes%2Fsimple%2Fpolls.css&amp;mod=
e=3Dbrowse&amp;zoomdir=3D0&amp;zoomsize=3D2&amp;imgext=3D-84.397133+-33.7=
51000+-21.971867+5.272000&amp;map_findmuni_class_expression=3D&amp;procur=
ar_por=3D&amp;layer=3Dbr_uf&amp;redraw.x=3D14&amp;redraw.y=3D17&amp;map_w=
eb_template=3D/home/restricted/home/scopotecnologia/public_html/clickbras=
il/ptbr_printtemplate.html</A></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>- which is almost the same template =
file. The main=20
diference is that in Preview mode, I put a &lt;IMG&gt; to map rather =
than a=20
&lt;MAPPLET&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I believe this might be because of my =
dial-phone=20
connection , which is very slow. Am I right?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Eduardo Patto Kanegae</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"mailto:eduardo at linkgeo.com.br">eduardo at linkgeo.com.br</A></FONT><=
/DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"http://www.linkgeo.com.br">http://www.linkgeo.com.br</A>&nbsp;-=20
Brasil</FONT></DIV></BODY></HTML>

------=_NextPart_000_0007_01C33EAF.E1069610--




More information about the mapserver-users mailing list