Toolbar items lost in the ether

11 views
Skip to first unread message

Bill Morris

unread,
Jun 15, 2011, 4:45:08 PM6/15/11
to olwidget
Howdy!

I first have to thank the developer for a fantastic toolset, which
turns out to be practical even for novices like me. I have a question
that will inevitably have the most obvious of possible answers, but I
can't seem to figure it out on my own:

Where did half the buttons on the editing toolbar disappear to?

I've got an olwidget object plugged into a demo site (http://
www.geosprocket.com/portfolio/farmplanner-demo), and for whatever
reason only four of the tools on the editor toolbar show up; there's
space for others in the container, but there's no image or click
event: http://yfrog.com/gylilcp. I've troubleshot to the high heavens,
and I dug into the source of some of the examples, but there's no sign
of the controlling code (except here: http://yfrog.com/z/kiinap, and I
don't really know "where" this is located). It seems referenced in
olwidget.js, but I can't for the life of me figure out what I failed
to enter/link to make those buttons disappear. I suppose what I'm
really looking for is the "control panel" for that editing toolbar.

My sincerest apologies if this question is better suited to openlayers
or to the most basic html class, but thanks for your help!

-Bill Morris
Burlington, VT

Charlie DeTar

unread,
Jun 15, 2011, 5:26:39 PM6/15/11
to olwi...@googlegroups.com
It looks as though your installation has the following directory structure:

miles/
|--- olwidget.css
|--- olwidget.js

The required file structure for the style and buttons to work unmodified is:

.../
|--js/
|-- olwidget.js

|--css/
|-- olwidget.css

|--img/
|-- extra_edit_icons.png
|-- popup_icons.png


If you prefer a different directory structure, you'll need to alter
olwidget.css to change all the paths to whatever you'd like.

best,
Charlie

Bill Morris

unread,
Jun 16, 2011, 2:00:36 PM6/16/11
to olwidget
Hallelujah! Thanks for that; I now see that you had it spelled out in
the docs and I still missed it. Your help is much appreciated, though.
And again, this is a great OL buildout! Thanks for sharing!

-Bill
Reply all
Reply to author
Forward
0 new messages