mapserver/mapobject/poi.go
2019-01-21 14:42:38 +01:00

27 lines
364 B
Go

package mapobject
import (
"mapserver/mapblockparser"
"mapserver/mapobjectdb"
)
type POI struct {
db mapobjectdb.DBAccessor
}
func (this *POI) OnParsedMapBlock(block *mapblockparser.MapBlock) {
var found bool
for _, v := range block.BlockMapping {
if v == "mapserver:poi" {
found = true
break
}
}
if !found {
return
}
panic("OK") //XXX
}