kekscom / osmbuildings

OSM Buildings Classic 2.5D
http://osmbuildings.org
BSD 2-Clause "Simplified" License
505 stars 140 forks source link

Namespace or allow user to set JSON field names #94

Closed tomchadwin closed 8 years ago

tomchadwin commented 8 years ago

height, wallColor, and roofColor could conceivably already be present in a dataset - certainly height. Is it worth prefixing the required variable names with osmb_?

kekscom commented 8 years ago

I don't think that'll get in. If those properties are present, they're most likely placed for visual representation. Otherwise, if those are pure data, I could imagine to have a method like each() in Classic OSM Buildings in order to modify properties as you like.

kekscom commented 8 years ago

Addition: you are already referring to Classic version. Then give each() a try please.