mirror of
https://github.com/consbio/mbtileserver.git
synced 2024-09-11 07:15:24 +03:00
fix comments
This commit is contained in:
parent
7f6e87181a
commit
472e6e2324
@ -1,5 +1,7 @@
|
||||
package handlers
|
||||
|
||||
// BlankPNG returns bytes of a blank PNG, for the request handlers to return
|
||||
// when an image tile is not available.
|
||||
func BlankPNG() []byte {
|
||||
return []byte{
|
||||
0x89, 0x50, 0x4e, 0x47, 0xd, 0xa, 0x1a, 0xa, 0x0, 0x0, 0x0, 0xd, 0x49,
|
||||
|
@ -157,7 +157,7 @@ func NewFromBaseDir(baseDir string) (*ServiceSet, error) {
|
||||
return s, nil
|
||||
}
|
||||
|
||||
// Len returns the number of tilesets in this ServiceSet
|
||||
// Size returns the number of tilesets in this ServiceSet
|
||||
func (s *ServiceSet) Size() int {
|
||||
return len(s.tilesets)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user