Some quick, poorly researched responses which hopefully should give you 
a jump start.

Luke Michels wrote:
>
> I have been working with mapbuilder and have found it a very nice 
> tool. I would like to enhance the way I have it now with a couple of 
> things that I cannot seem to find I was wondering if you could help me 
> with this.
>
> What I am using mapbuilder for is to take around 13 spatial layers and 
> 10 vectors and turn them into a dynamic map. I have already gotten the 
> map working with Ka-Map, but Ka-Map does not provide some additional 
> components that mapbuilder does. The working Ka-Map version can be 
> found at "http://na.unep.net/swera_ims/map/";. While making this 
> conversion to mapbuilder may be an option, I need to provide the users 
> of the system the same functionality that is already provided by 
> Ka-Map. There are three major portions that have yet to be worked out.
>
> Problem 1 is that I need to be able to print the map as an image as 
> seen on the page when some "Print" button or widget is activated. Does 
> mapbuilder allow this or is there some way to program around it. If 
> not I was thinking of saving the wmc to disk, which mapbuilder says it 
> provides, with a dynamic name and making a config  and html file on 
> the fly to produce just the map widget with some additional text and 
> images also on the html.
Printing is tricky in web browers, especially with when displaying many 
layers as happens in Mapbuilder.
 From memory, the [print] from firefox works, but from IE 6 you don't 
get all layers.

There has been much discussion about this over the years which you can 
find by trawling through mapbuilder-devel archives.

 From memory, the best solutions have an element of server side solution.

If all your layers come from the same WMS, you are lucky because you can 
build an image with all layers merged into one.

I'm a bit out of touch on this, so I suggest getting a second opinion. 
Pinging the openlayers list would be a good start.
>
> Problem 2 is that we have been using Ka-Map to tile and display the 
> tiles becuase some of the data sets are large and can take a long time 
> to load. I was wondering if Mapbuilder has a way to access the that 
> file or configuration the way that OL does. If not I have gotten 
> mapbuilder to pull in transparent maptiles from TileCache with the 
> mapbuilder defined resolutions. The problem with this is that for the 
> levels of zoom that I did not seed, I get pink blocks. I was wondering 
> if there was a way to get it to go to the tiles for certain 
> resolutions and go to the map file for others?
Mapbuilder wraps Openlayers, so any configuration param in Openlayers 
should be configurable from Mapubilder. It sounds likely that you would 
need to create a new Layer type to put into the OWS Context type and 
provide support for that in MapPane2.js

So I suspect it is possible, but you will probably need to do some JS 
coding.
>
> Problem 3 is that I have gotten a tree structure going with the layers 
> and vectors, but the layers that won't display till a lower resolution 
> keep showing up in that list. Is there anyway to hide the layers that 
> won't be displayed on the map for that resolution?
OWSContext and WMC allow you to specify a Max/Min scale value.
What you could do is extend Legend.js (or Legend.xsl) to recognise the 
Max/Min scales and only display layers in scale. This should be set up 
to be configurable and would be a nice Mapbuilder addition.
Again, some JS and/or XSLT programming required here.
>
> Thank you for taking the time to look at these questions and I look 
> forward to your response.
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapbuilder-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel
>   


-- 
Cameron Shorter
Geospatial Systems Architect
Tel: +61 (0)2 8570 5050
Mob: +61 (0)419 142 254

Think Globally, Fix Locally
Commercial Support for Geospatial Open Source Solutions
http://www.lisasoft.com/LISAsoft/SupportedProducts.html



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
mapbuilder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel

Reply via email to