Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

data layer styling, geoJSON change no styles apply #1099

@figuerres

Description

@figuerres

Issue description
i have an app that allows the user to select a different geoJSON object for the map.
when the map is first drawn all is good.

when the geoJSON changes the new line is drawn but the styles are not applied.

Steps to reproduce and a minimal demo of the problem
i tried to create a plunk but i am working with angular CLI , not sure how to switch up.

_Use https://plnkr.co or similar -- try this template as a starting point: http://plnkr.co/edit/YX7W20?p=preview

What steps should we try in your demo to see the problem?

Current behavior
updated map loses style

Expected/desired behavior
updated map has style

angular2 & angular-google-maps version
AGM 1, angular 4

Other information

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions