According to the web component a Polygon and a Polyline are the same, the difference relies on the "closed" attribute: when "true" it's a polygon, when "false" it's a polyline. So this solution adds a GoogleMapPoly class containing all common logic and polygon and polyline classes extend from it.
Close #102
According to the web component a Polygon and a Polyline are the same, the difference relies on the "closed" attribute: when "true" it's a polygon, when "false" it's a polyline. So this solution adds a GoogleMapPoly class containing all common logic and polygon and polyline classes extend from it.