[Mapserver-users] Mapplet is not drawing the map

Richard Greenwood Rich at GreenwoodMap.com
Mon Jun 30 06:45:11 PDT 2003


At 02:32 AM 6/30/2003 -0300, you wrote:
>I've put a beta of ClickBrasil at 
><http://www.linkgeo.com.br/clickbrasil/>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=299.5+187&imgbox=-1+-1+-1+-1&current_imgext=-84.397133+-33.751000+-21.971867+5.272000&map=%2Fhome%2Frestricted%2Fhome%2Fscopotecnologia%2Fdados%2Fclickbrasil.ptbr.map&originalmap=%2Fhome%2Frestricted%2Fhome%2Fscopotecnologia%2Fdados%2Fclickbrasil.ptbr.map&program=%2Fcgi-local%2Fmapserv&mainsite=%2Fptbr%2F&app_url=%2Fclickbrasil%2F&app_style1=%2Fptbr%2Fthemes%2Fsimple%2Fstyle.css&app_style2=%2Fptbr%2Fthemes%2Fsimple%2Fforms.css&app_style3=%2Fptbr%2Fthemes%2Fsimple%2Flists.css&app_style4=%2Fptbr%2Fthemes%2Fsimple%2Fdownloads.css&app_style5=%2Fptbr%2Fthemes%2Fsimple%2Fforum.css&app_style6=%2Fptbr%2Fthemes%2Fsimple%2Fnews.css&app_style7=%2Fptbr%2Fthemes%2Fsimple%2Fpolls.css&mode=browse&zoomdir=0&zoomsize=2&imgext=-84.397133+-33.751000+-21.971867+5.272000&map_findmuni_class_expression=&procurar_por=&layer=br_uf&redraw.x=14&redraw.y=17>http://www.linkgeo.com.br/cgi-local/mapserv?imgxy=299.5+187&imgbox=-1+-1+-1+-1&current_imgext=-8
 4.397
13 
>3+-33.751000+-21.971867+5.272000&map=%2Fhome%2Frestricted%2Fhome%2Fscopotecnologia%2Fdados%2Fclickbrasil.ptbr.map&originalmap=%2Fhome%2Frestricted%2Fhome%2Fscopotecnologia%2Fdados%2Fclickbrasil.ptbr.map&program=%2Fcgi-local%2Fmapserv&mainsite=%2Fptbr%2F&app_url=%2Fclickbrasil%2F&app_style1=%2Fptbr%2Fthemes%2Fsimple%2Fstyle.css&app_style2=%2Fptbr%2Fthemes%2Fsimple%2Fforms.css&app_style3=%2Fptbr%2Fthemes%2Fsimple%2Flists.css&app_style4=%2Fptbr%2Fthemes%2Fsimple%2Fdownloads.css&app_style5=%2Fptbr%2Fthemes%2Fsimple%2Fforum.css&app_style6=%2Fptbr%2Fthemes%2Fsimple%2Fnews.css&app_style7=%2Fptbr%2Fthemes%2Fsimple%2Fpolls.css&mode=browse&zoomdir=0&zoomsize=2&imgext=-84.397133+-33.751000+-21.971867+5.272000&map_findmuni_class_expression=&procurar_por=&layer=br_uf&redraw.x=14&redraw.y=17
>
>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=299.5+187&imgbox=-1+-1+-1+-1&current_imgext=-84.397133+-33.751000+-21.971867+5.272000&map=%2Fhome%2Frestricted%2Fhome%2Fscopotecnologia%2Fdados%2Fclickbrasil.ptbr.map&originalmap=%2Fhome%2Frestricted%2Fhome%2Fscopotecnologia%2Fdados%2Fclickbrasil.ptbr.map&program=%2Fcgi-local%2Fmapserv&mainsite=%2Fptbr%2F&app_url=%2Fclickbrasil%2F&app_style1=%2Fptbr%2Fthemes%2Fsimple%2Fstyle.css&app_style2=%2Fptbr%2Fthemes%2Fsimple%2Fforms.css&app_style3=%2Fptbr%2Fthemes%2Fsimple%2Flists.css&app_style4=%2Fptbr%2Fthemes%2Fsimple%2Fdownloads.css&app_style5=%2Fptbr%2Fthemes%2Fsimple%2Fforum.css&app_style6=%2Fptbr%2Fthemes%2Fsimple%2Fnews.css&app_style7=%2Fptbr%2Fthemes%2Fsimple%2Fpolls.css&mode=browse&zoomdir=0&zoomsize=2&imgext=-84.397133+-33.751000+-21.971867+5.272000&map_findmuni_class_expression=&procurar_por=&layer=br_uf&redraw.x=14&redraw.y=17&map_web_template=/home/restricted/h>http://www.linkgeo.com.br/cgi-local/mapserv?imgxy=299.5+187&
 imgbo
x= 
>-1+-1+-1+-1&current_imgext=-84.397133+-33.751000+-21.971867+5.272000&map=%2Fhome%2Frestricted%2Fhome%2Fscopotecnologia%2Fdados%2Fclickbrasil.ptbr.map&originalmap=%2Fhome%2Frestricted%2Fhome%2Fscopotecnologia%2Fdados%2Fclickbrasil.ptbr.map&program=%2Fcgi-local%2Fmapserv&mainsite=%2Fptbr%2F&app_url=%2Fclickbrasil%2F&app_style1=%2Fptbr%2Fthemes%2Fsimple%2Fstyle.css&app_style2=%2Fptbr%2Fthemes%2Fsimple%2Fforms.css&app_style3=%2Fptbr%2Fthemes%2Fsimple%2Flists.css&app_style4=%2Fptbr%2Fthemes%2Fsimple%2Fdownloads.css&app_style5=%2Fptbr%2Fthemes%2Fsimple%2Fforum.css&app_style6=%2Fptbr%2Fthemes%2Fsimple%2Fnews.css&app_style7=%2Fptbr%2Fthemes%2Fsimple%2Fpolls.css&mode=browse&zoomdir=0&zoomsize=2&imgext=-84.397133+-33.751000+-21.971867+5.272000&map_findmuni_class_expression=&procurar_por=&layer=br_uf&redraw.x=14&redraw.y=17&map_web_template=/home/restricted/home/scopotecnologia/public_html/clickbrasil/ptbr_printtemplate.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?

Maybe. Both URL's work for me. But it is more likely to be your browser 
and/or Java. What browser are you using? Mapplet works well on Netscape 
4.x, on Linux & windows, IE on windows, it does NOT work on Macs. With 
Mozilla it seems to work best with Java 1.4. (And be sure Java is enabled 
in whatever browser you are using).

Rich


Richard W. Greenwood, PLS
Greenwood Mapping, Inc.
Rich <at> GreenwoodMap <dot> com
(307) 733-0203
http://www.GreenwoodMap.com 




More information about the MapServer-users mailing list