[ka-Map-users] ka-map application layout

Pg pg.navone at gmail.com
Wed May 31 15:13:18 EDT 2006


I'm using a similar setup: Apache with an AJP connector to link the J2EE
application on Tomcat.

At the beginning I used  kaMap in an iframe, but this way limits the
interaction between the jsp and the map. Now I'm using kaMap in a simple
<div>.

To do that I had to do some small patch in kaMap to support the J2EE
application and kaMap with different context URL (but on the same server).
I extended the use of kaMap.server property.

I use few kaMap tools: the query, the pan, the scalebar and the zoomer (with
some patch).

I think the kaMap code should be cleened up to setup such a web tree:

  server_root/kamap/...
  server_root/application1/pageWithKaMapReference.html
  server_root/application2/pageWithKaMapReference.html




2006/5/31, Denis Frolov <den at demax.ru>:
>
> I have a similar setup and use apache mod_rewrite proxy of all the
> requests
> to /ka-map/ to another box running MapServer/php/ka-map:
>
> RewriteRule /ka-map/(.*)    http://test.demax.ru/ka-map/$1 [P]
>
> I also use patch from this url:
> http://bugzilla.maptools.org/show_bug.cgi?id=1450 and have absolute urls
> to
> ka-map files everywhere.
>
> on 5/31/06 1:24 AM, Scott Knutti at sknutti at sanz.com wrote:
>
> > Hello all!
> >
> > Looking for advice on an application layout...  We are trying to
> > integrate ka-map into a Java/JSF application.  We have a seperate server
> > that is running MapServer and holds all of the data.  The application
> > runs on another box.  We have tried putting an iframe that resides on
> > the MapServer machine in the app on the other box and ran into the
> > UniversalBrowseRead problem.  So we have move the ka-map client onto the
> > application server.  Now that it is not on the MapServer box, can I
> > simply modify the config.php file to point to the mapfile on the
> > MapServer box?  What is the best way to layout an application like this?
> >
> > Thanks,
> > Scott
> > _______________________________________________
> > ka-Map-users mailing list
> > ka-Map-users at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/ka-map-users
> >
> >
>
>
> ---
> Denis Frolov
> Media Agency Design Maximum
>
> Tel: +7 863 2648211
> Fax: +7 863 2645229
> Web: http://www.designmaximum.com
>
>
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20060531/3c7e8e5d/attachment.html


More information about the ka-Map-users mailing list