[ka-Map-users] Customizing interface

Samuel Hiatt samhiatt at gmail.com
Tue Nov 20 18:02:26 EST 2007


Due to the nature of the kaExplorer interface (that it is a
full-screen app) a lot of the styling is controlled in the startUp.php
(things like making the map viewport stretch to fill the rest of the
screen, etc).  I don't personally like how kaExplorer was done, but
much of that is still kaMap-independent.

If you are good at designing a dynamic layout with HTML/CSS then I say
you should go for it.  Start from scratch and just use the various
startUp.js 's that you find.

There's some good info on how to do this also in the FOSS4G
presentation that you can find here:
http://www.ominiverdi.org/ka-map/ka-map/presentations/foss4g2007/foss4g2007.html

One last thing... there is still more styling mixed in the code
controlling things like the layout of the legend, etc... This is
probably good that the separate widgets have their own styling that is
packaged separate of screen.css.  I think you'll likely be able to
build a very rich layout without messing with the styling of each
widget... but in the future if you need to tweak this some of that
styling, then you can always do so if you dig in the the code.  (I had
to with kaLegend.js... and it really wasn't that bad... so don't be
intimidated)

Is all this helping?

Sam


On Nov 20, 2007 10:04 AM, Hans Castorp <hanscastorp76 at yahoo.es> wrote:
> Thanks to all for replying,
>
> One of the bigger problems we have found is the fact that not only css
> controls the look and feel. Also javascript functions are involved in
> positioning, by example.
>
> Does anyone know what javascript functions are loading styles on the html
> code??
>
>
> -----Mensaje original-----
> De: ka-map-users-bounces at lists.maptools.org
> [mailto:ka-map-users-bounces at lists.maptools.org] En nombre de Sacha Black
> Enviado el: martes, 20 de noviembre de 2007 18:32
> Para: ka-map-users at lists.maptools.org
>
> Asunto: Re: [ka-Map-users] Customizing interface
>
> hi Hans,
>
> yes, what you propose will work, but you must also include the
> relavent kamap javascripts at the top of the html page. if you explore
> the other versions of index.html included, you will see some of the
> various examples.
>
> sacha
>
> On Nov 19, 2007 11:37 AM, Hans Castorp <hanscastorp76 at yahoo.es> wrote:
> > Thanks for replying,
> >
> > I think that the fundamental question is:
> >
> > If we wrote a new index.html including all needed <div> and new css, this
> > will work??
> >
> > Thanks in advance.
> >
> >
> > -----Mensaje original-----
> > De: Samuel Hiatt [mailto:samhiatt at gmail.com]
> > Enviado el: lunes, 19 de noviembre de 2007 20:25
> > Para: Hans Castorp
> > CC: ka-map-users at lists.maptools.org
> > Asunto: Re: [ka-Map-users] Customizing interface
> >
> >
> > I wrote up a tutorial answering this question a while back.  Check it
> > out on the wiki at
> >
> http://ka-map.ominiverdi.org/wiki/index.php/Customizing_the_ka-map_interface
> >
> > Take a look at it and let me know what you think.  I think it'll help
> > answer some of your questions.
> >
> > Sam
> >
> >
> >
> > On Nov 19, 2007 10:41 AM, Hans Castorp <hanscastorp76 at yahoo.es> wrote:
> > >
> > >
> > >
> > >
> > > Hi to all,
> > >
> > >
> > >
> > > We are developing a gis application using ka-map and mapserver. All
> > > functionalities are working fine, but now it's time for designers to
> > change
> > > the look and feel. It was the first time for all of us with Ka-map and
> > > designers are going crazy trying to customize its interface.
> > >
> > > In fact we are starting thinking that it's impossible to completely
> change
> > > the default interface, but, on the other side, internet is full of (more
> > or
> > > less) customized Ka-map applications.
> > >
> > >
> > >
> > > Now, the questions:
> > >
> > > It's possible to change completely the Ka-map interface??
> > >
> > > What's the minimum we have to respect over the default design??
> > >
> > > All design is controlled with css or there are some javascript changing
> > it??
> > >
> > >
> > >
> > > Thanks in advance.
> > >
> > >
> > >
> > >
> > >
> > >
> > > Hans Castorp
> > >
> > >
> > >
> > >
> > > No virus found in this outgoing message.
> > >  Checked by AVG Free Edition.
> > >  Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date:
> > 18/11/2007
> > > 17:15
> > >
> > > _______________________________________________
> > > ka-Map-users mailing list
> > > ka-Map-users at lists.maptools.org
> > > http://lists.maptools.org/mailman/listinfo/ka-map-users
> > >
> > >
> >
> > No virus found in this incoming message.
> >
> > Checked by AVG Free Edition.
> > Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date:
> 18/11/2007
> > 17:15
> >
> >
> > No virus found in this outgoing message.
> > Checked by AVG Free Edition.
> > Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date:
> 18/11/2007
> > 17:15
> >
> >
> > _______________________________________________
> > ka-Map-users mailing list
> > ka-Map-users at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/ka-map-users
> >
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: 19/11/2007
> 19:05
>
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: 19/11/2007
> 19:05
>
>
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>


More information about the ka-Map-users mailing list