-
Notifications
You must be signed in to change notification settings - Fork 87
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
Backward compatibility for rl_features #1062
Backward compatibility for rl_features #1062
Conversation
@sbrunner I copied the examples you provided here #1059 (comment) The line doesn't work. I noticed that there's two Please, let me know. |
no its not a typo, an other example: |
It does support the style. It's just that when two @sbrunner Would you please open an issue about this ? It's out of scope of this PR. |
1f66eca
to
a59f683
Compare
#1067 Should fix the issue with rectangles. |
a59f683
to
43d8f94
Compare
@sbrunner The
|
+1 for |
Excellent. I have what I need to continue. @sbrunner Would you please link the issue about the linestring format in this PR ? |
43d8f94
to
bfdccf5
Compare
Witch issue? a new one? |
Yes, a new issue. See: #1062 (comment) |
Ok, I miss your comment :-) |
bfdccf5
to
3821d79
Compare
Text now converts px -> pt. Live example updated. The only thing remaining that block this PR is: #1069 . |
c51a8b3
to
eec0055
Compare
#1069 is now fixed |
eec0055
to
69874d4
Compare
Now that #1069 has been fixed, this is ready for review. |
please squash all your commits into one |
I've finally used the new squash and merge button Thanks @adube |
I was used to squash all commits into one. Even with the new button, if you prefer people still squashing their commits themselves, please let me know. Thanks. |
This PR adds the backward compatibility for
rl_features
in the permalink, i.e. for the features of the redlining tool from 1.6.Was blocked by
This PR was blocked by: #1069
To do
Test cases
You can try them here: https://geomapfish-demo.camptocamp.net/2.0
Examples (removed prefix: https://geomapfish-demo.camptocamp.net/2.0/theme/Transport?map_x=542000&map_y=154000&map_zoom=2&):
_
rl_features=Fp%28w8saFhdf3!~name_Un%2520titre~fillColor_%2523ff0000%27strokeColor_%2523ff0000%27pointRadius_6%27fontColor_%2523000000%29
fontColor
is ignoredfillColor
andstrokeColor
are the same, i.e. only one is usedrl_features=Fl%28drh7F9tx2!htv_z1k_~~strokeColor*%2523ff0000%27strokeWidth*1%29
rl_features=Fa%285rx4F11p2!sp1!1rGh3h_gwr_rg9!grn-~showMeasure*true~fillColor*%2523ff0000%27strokeColor*%2523ff0000%27strokeWidth*1%29
fillColor
andstrokeColor
are the same, i.e. only one is usedrl_features=Fa%285n25Fhzc1!.hec!9bt*..gec!~isBox*true~fillColor*%2523ff0000%27strokeColor*%2523ff0000%27strokeWidth*1%29
object [Object]
fillColor
andstrokeColor
are the same, i.e. only one is usedrl_features=Fa%287ya3Ff274!fjGqr-36G7f!qhF33AqnEhkByjD7yCy9C55EuuAk4Fh9*uvF7m_bdGyWnnGxWknG6m_bdGg9*uvFtuAk4Fx9C55ExjD7yCpnEhkBphF33A26G7f!ejGqr-ppG.ejGpr-26G6f!mhF23ArnEgkBxjD6yCx9C45EtuAj4Fg9*tvF6m_adGvWjnGwWmnG7m_adGh9*tvFuuAj4Fy9C45EyjD6yCsnEgkBnhF23A36G6f!fjGpr-~isCircle*true~fillColor*%2523ff0000%27strokeColor*%2523ff0000%27strokeWidth*1%29
fillColor
andstrokeColor
are the same, i.e. only one is usedrl_features=Fp%285wx9F19ry_~name*Un%2520titre%27isLabel*true~fillColor*%2523ff0000%27strokeColor*%2523ff0000%27pointRadius*6%27fontColor*%2523000000%27fontSize*12px%27fontFamily*sans-serif%27graphic*false%29
fontSize
was12px
. Now it's inpt
(converted)fontFamily
is ignored (not supported)fillColor
andstrokeColor
are ignored.graphic
, old ol2 value. Not used.