-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting the width of a street section from a PML file #67
Comments
I don't think this is too complicated. The instances of In createWaySections(), the method |
What is the difference between the classes |
Well, the The Finally, the class |
What would be the obstacles to merge |
The main differences I see are
|
I suggest gradually merging |
OK. Just out of curiosity: What's the benefit of that? |
No need to create an additional structure. |
I'd like to define widths of street sections and other attributes in a PML file.
A PML style is chosen based on the category of an OSM way, the number of lanes, etc.
If possible, an instance of the class
StreetSection
should be created earlier in the code. A renderer exposes a methodgetStyle
which acceptstags
as a parameter and returns a style defined in PML. The attributes of the instance of the classStreetSection
(width, the number lanes) are set in accordance with the values in the PML style.How easy would it be to refactor the existing code?
The text was updated successfully, but these errors were encountered: