Well, I ran into the same problem while adding a custom button (revert
changes).
Here's my code:
//overload the EditingToolbar initialize function:
OpenLayers.Control.EditingToolbar.prototype.initialize =
function(layer, options){
OpenLayers.Control.Panel.prototype.initialize.a
Update - I've upgraded from OpenLayers 2.8 to 2.9.1 and the issue is
fixed. :)
The toolbar looks fine now. Should have tried to update sooner...
Regards,
Adrian
___
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users
Any ideas?
I thought of changing the icon for the button (as a hack), but the
trouble is - I need to add two buttons and both of them display the same
icon - so I can't use that approach.
Is there another way I can build my toolbar and specify what items to
show? Any existing examples?
Rega
Hello everyone,
Long time no see :)
I want to add a "save" button to my editingToolbar (which was
customized) in order to manually save changes. I am using the following
code:
//overload the EditingToolbar initialize function:
OpenLayers.Control.EditingToolbar.prototype.initialize =
f