No subject
     
    
       
    Mon Oct  7 05:54:23 PDT 2024
    
    
  
specific. You say "How I can display shapefiles, (not images in jpg)
through the jbox.jar". ?, A Map Server (like MapServer) generates images
from various vector formats (and raster) ...
I suppose it would be better for you to display images without applet. IF
this works, and jBox works with a static image, then something like this
(in ASP.NET):
<applet
  codebase="./java"
  archive="jBox.jar"
  code="jBox.class"
  width="<%=mapwidth%>"
  height="<%=mapheight%>"
  name="jBox" MAYSCRIPT>
<param name="image" value="http://stage<%=img%>">
</applet>
If you use template file directly, then you should have [mapwidth], [img]
ecc. instead of <%=mapwidth%> ecc.
Piero
    
    
More information about the MapServer-users
mailing list