[ka-Map-users] TIP/Question: Sending Query Results to "Content" div on top of the map

Steve Walker walker at mfgis.com
Mon Jun 18 23:15:54 EDT 2007

Mixing and matching interfaces here...

I really like the "Content" functionality associated with kaExplorer - for
those who don't know, it places some html 'content' (ka-map! info, help,
or what you want) on top of the viewport - or map image.

What I really *don't* like are the pop-up windows associated with the
query, print, and other tools (such as in the ka_aqua interface). 
Similarly, neither the 'service' div under kaExplorer nor the index_query
use of a shrinkable div in a corner of the viewport offer enough real
estate to do anything useful with my query results.

I wanted the real estate of the kaExplorer 'content' but working from
within a kaAqua-sourced template.

Here is what I have been able to do:

Working with the kaAqua startUp.js as a base, I grabbed the relevant
'content' code from the kaExplorer startUp.js and screen.css/tools.css

Then, in the kaAqua startUp.js at around line 310 I replaced this:

    WOOpenWin( 'Query', 'map_query.php?'+params, 'resizable=yes,scrollbars=\
yes,width=600,height=400' );

with this:

    showContent('map_query.php?' + params);

And now the results of my interactive queries will show up in the
'content' div on top of my map, just like the 'INFO' and 'HELP' links do
under kaExplorer.  I'm thinking that I can make the 'print' and 'search'
tools behave the same.


Just one little issue/question.  A bunch of black boxes, like bounding
boxes, show up surrounding the elements on the map:  Each image in the
toolbar, each zoom-shrink icon on the map, and within the keymap, parallel
vertical and horizontal lines representing tile boundaries.  They persist
even after closing the 'content' window.  Presumably they are element
bounding boxes, but where are they being turned on?


Steve Walker
Middle Fork Geographic Information Services
walker at mfgis.com

More information about the ka-Map-users mailing list