Skip to content

Style change is not reflected on a published map #117

@tmiosmauli

Description

@tmiosmauli

I stumbled upon some strange behaviour while trying to add two very similar layers with differing point symbols. I couldn't get the updated style available / working on a published map while outside it (in the "geoportal mode") everything worked.

I was able to reproduce the behaviour in demo.oskari.org today like so:

  1. Add a point layer (I used WFS) and create a point style for it
  2. Add another layer using the template, the same style will be copied
  3. Publish a map with the previously added two layers
  4. Open the published map -> It works as expected
  5. Edit the style of one of the previously added layers (I edited the latter by changing the color hex-code in the JSON editor) and save
  6. The changed style works as expected in the "geoportal mode" but the change is not reflected on the published map

There is a workaround: if I remove the layer with the changed style from the published map, save and then add it back again and save, the style will be updated and everything looks as it should.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions