Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Main Repositories
otb
Commits
2b3efa15
Commit
2b3efa15
authored
Apr 29, 2009
by
Emmanuel Christophe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Text follow lines
parent
220860da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
mapnikFromVectorData.cxx
mapnikFromVectorData.cxx
+3
-1
No files found.
mapnikFromVectorData.cxx
View file @
2b3efa15
...
...
@@ -219,7 +219,9 @@ int main(int argc, char * argv[])
// TextSymbolizer name="name" face_name="DejaVu Sans Book" size="9" fill="#000" halo_radius="1" placement="line"
// text_symbolizer (std::string const &name, std::string const &face_name, unsigned size, color const &fill)
// text_symbolizer (std::string const &name, unsigned size, color const &fill)
rule
.
append
(
mapnik
::
text_symbolizer
(
"name"
,
"DejaVu Sans Book"
,
9
,
mapnik
::
color
(
"#000"
)));
mapnik
::
text_symbolizer
textSymb
(
"name"
,
"DejaVu Sans Book"
,
9
,
mapnik
::
color
(
"#000"
));
textSymb
.
set_label_placement
(
mapnik
::
LINE_PLACEMENT
);
rule
.
append
(
textSymb
);
style
.
add_rule
(
rule
);
m
.
insert_style
(
"roads"
,
style
);
}
...
...
Write
Preview
Markdown
is supported
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