John,

Thank you for replying.  I have been playing with that, which did not
seem to do the trick but will continue to try.

Thanks again
Angela

On Feb 2, 12:58 pm, John Callahan <[email protected]> wrote:
> Not sure if this helps you but the legends are placed in a div with
> class=exhibit-legendWidget. Each of the different types of legends have
> their own div, with an id such as
>
> exhibit-color-legend
> exhibit-size-legend
> exhibit-icon-legend
>
> You can use CSS (display:none;) to hide the legends you don't want to
> appear.  Similarly, you can use jQuery to show/hide these legends as the
> user wants.
>
> - John
>
>
>
>
>
> On Tue, Feb 2, 2010 at 9:57 AM, 3rd Wave <[email protected]> wrote:
> > Ok I have managed to get rid of the images from the size legend.  I am
> > still working on the label, but that's going to be quicker I think.
>
> > This is what I did to remove the size coder legend but not the color
> > coder legend:
> > In the legend-widget.js file I changed:
>
> > original
> >                if (type == 'size') {
> >                var dom = SimileAjax.DOM.createDOMFromString(
> >                        "span",
> >                        "<span id='marker'></span>\u00a0" +
> >                                "<span id='label'
> > class='exhibit-legendWidget-entry-title'>" +
> >                                        label.replace(/\s+/g, "\u00a0") +
> >                                "</span>" +
> >                                "\u00a0\u00a0 ",
> >                        { marker: this._sizeMarkerGenerator(value) }
> >                );
> >                var legendDiv =
> > document.getElementById('exhibit-size-legend');
> >        }
>
> > to this
>
> >        if (type == 'size') {
> >                var dom = SimileAjax.DOM.createDOMFromString(
> >                        "span",
> >                        "<span id='marker'></span>" +
> >                                "<span id='label'
> > class='exhibit-legendWidget-entry-title'>" +
> >                                        label.replace(/\s+/g, "") +
> >                                "</span>" +
> >                                "",
> >                        { marker: this._sizeMarkerGenerator(0) }
> >                );
> >                var legendDiv =
> > document.getElementById('exhibit-size-legend');
> >        }
>
> > This gave me nothing but the text labels for the size coder legend -
> > no images.  I will document how I remove the text if and when I find
> > it unless someone else has the answer.  This may not be the most
> > correct or elegant solution, but it's working for me so hopefully
> > someone can benefit.
>
> > Please let me know if there is another more reasonable solution.
>
> > Thank you
> > Angela
>
> > On Feb 1, 5:07 pm, 3rd Wave <[email protected]> wrote:
> > > Thank you for your time.
>
> > > I am running 2 different independent coders on the same maps as a part
> > > of my never ending battle with "missing" information.  I need to have
> > > a separate color coder and a separate size coder.
>
> > > As a result, I now get two legends at the bottom of my maps.  One is
> > > the color coder legend - I want that to remain.  The other is the size
> > > legend.  I do not want that to appear.
>
> > > My first question: is there a way to stop only the size legend from
> > > showing on my map?
>
> > > Second, I would like to have the legend at the top of the map rather
> > > than the bottom.  How would I go about doing this?
>
> > > Thank you again - I appreciate any help.
> > > Angela
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "SIMILE Widgets" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<simile-widgets%2bunsubscr...@go 
> > oglegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/simile-widgets?hl=en.
>
> --
> **************************************************
> John Callahan, Geospatial Application Developer
> Delaware Geological Survey, University of Delaware
> URL:http://www.dgs.udel.edu
> **************************************************

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en.

Reply via email to