11 lines
223 B
Text
11 lines
223 B
Text
|
var RouteLayer = {};
|
||
|
|
||
|
RouteLayer.new = func(group,name) {
|
||
|
var m=Layer.new(group, name, RouteModel);
|
||
|
m.setDraw (func draw_layer(layer:m, callback: draw_route, lod:0) );
|
||
|
return m;
|
||
|
}
|
||
|
|
||
|
register_layer("route", RouteLayer);
|
||
|
|