Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
93b96a2f
Commit
93b96a2f
authored
Mar 27, 2009
by
Emmanuel Christophe
Browse files
in progress
parent
7118b955
Changes
1
Hide whitespace changes
Inline
Side-by-side
myOwnMapnik.cxx
View file @
93b96a2f
...
...
@@ -82,8 +82,8 @@ int main ( int argc , char** argv)
p
[
"file"
]
=
"world_borders"
;
Layer
lyr
(
"world"
);
lyr
.
set_datasource
(
datasource_cache
::
instance
()
->
create
(
p
));
//
lyr.set_datasource(mDatasource);
//
lyr.set_datasource(datasource_cache::instance()->create(p));
lyr
.
set_datasource
(
mDatasource
);
lyr
.
add_style
(
"world"
);
m
.
addLayer
(
lyr
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment