[OpenLayers-Trac] Re: [OpenLayers] #2531: have consistent writing of URL versus Url throughout the library

OpenLayers trac-20090302 at openlayers.org
Mon Oct 18 08:52:45 EDT 2010


#2531: have consistent writing of URL versus Url throughout the library
---------------------+------------------------------------------------------
 Reporter:  bartvde  |       Owner:             
     Type:  feature  |      Status:  new        
 Priority:  minor    |   Milestone:  3.0 Release
Component:  general  |     Version:  2.8        
 Keywords:           |       State:             
---------------------+------------------------------------------------------

Comment(by adube):

 Replying to [comment:7 erilem]:
 > If we choose {{{getURL}}} then I think we should go with
 {{{maxGetURLLength}}}, for consistency. +1 from me for using uppercase URL
 in method names. And the rules we apply to URL should be applied to other
 acronyms, like JSON, etc.

 I agree.  For the record, I looked "JSON" and "GeoJSON" methods and
 properties and they already follow the above rule.  There was only one
 property named 'jsonParser' somewhere, and since the 'json' part is at the
 beginning of the string, it's okay as it is (in lowercase).

-- 
Ticket URL: <http://trac.openlayers.org/ticket/2531#comment:8>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list