forked from MTSR/mapserver
18 lines
251 B
Go
18 lines
251 B
Go
package tilerendererjob
|
|
|
|
import (
|
|
"mapserver/app"
|
|
"mapserver/settings"
|
|
)
|
|
|
|
func Job(ctx *app.App) {
|
|
if ctx.Settings.GetBool(settings.SETTING_INITIAL_RUN, true) {
|
|
initialRender(ctx)
|
|
}
|
|
|
|
incrementalRender(ctx)
|
|
|
|
panic("render job interrupted!")
|
|
|
|
}
|