[ka-Map-users] KaMap in a smaller div?

Paul Spencer pspencer at dmsolutions.ca
Tue Oct 11 11:16:12 EDT 2005


Clark,

trying adding a style="position:relative" to your div.  You may also  
want to explicitly add overflow:hidden as well

Cheers

Paul

On 11-Oct-05, at 10:44 AM, Clark Endrizzi wrote:

> Hi.  ON my site I have a div that is 780x400.  I give the id for it  
> and the map is drawn but it overflows outside of the div (and the  
> entire screen is not clickable).  Looking at KaMap.js it looks like  
> "this.domObj.style.overflow = 'hidden';" is designed for this???
>
> Anyway it's not working and I have no idea why.  Is there something  
> special to get it wokring in just a small div on part of the page?   
> I'm not doing anything fancy, I am basically, right now, just  
> drawing a map (without a reference map, legend, zooming, etc).
>
> Thanks,
> -- 
> -Clark Endrizzi
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>

+-----------------------------------------------------------------+
|Paul Spencer                           pspencer at dmsolutions.ca   |
+-----------------------------------------------------------------+
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+






More information about the ka-Map-users mailing list