Ticket #2354 (closed bug: fixed)
Spelling of API methods getURL and setUrl of imagelayers is inconsistent and confusing
|Reported by:||marcjansen||Owned by:||bartvde|
Every instance of OpenLayers.Layer.Image has the following two methods to set/get the URL of the layer:
The spelling is inconsequent (Url vs. uppercase-only URL) and therefore rather confusing.
Attached is a patch that renames the method setUrl to setURL and remains a deprecated copy of the method setUrl so that existing applications using the old method don't break.