Closed HuidaeCho closed 3 years ago
BBOX
BBox
geojson
crs_bbox_feature
get_bbox()
draw_crs_bbox()
construct_*
create_*
crs_object
crs
var drawControl
featureGroup
bboxLayers
bboxLayer
L.geoJSON()
“Don't comment how, do comment why.” https://qr.ae/pG4KA1
Why Good Codes Don’t Need Comments - And bad codes are full of them
@ocsmit good reads!
BBOX
=>BBox
geojson
=> more specificcrs_bbox_feature
get_bbox()
=>draw_crs_bbox()
construct_*
=>create_*
for consistencycrs_object
=>crs
for consistencycrs_bbox_feature
prettyfiedvar drawControl
featureGroup
bboxLayers
=>bboxLayer
because it's a single layer in the endL.geoJSON()
; instead add new data to the existing bboxLayer