addMarker + addPolyline static fix